summaryrefslogtreecommitdiff
path: root/src/libunixonacid/dd_open_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/dd_open_write.c')
-rw-r--r--src/libunixonacid/dd_open_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunixonacid/dd_open_write.c b/src/libunixonacid/dd_open_write.c
index 90518cb..40d3443 100644
--- a/src/libunixonacid/dd_open_write.c
+++ b/src/libunixonacid/dd_open_write.c
@@ -20,7 +20,7 @@ int dd_open_write (dirdescriptor_t *dd, char const *lnkfn, unsigned int mode)
d.fd = open_read(d.new.s) ;
if (d.fd < 0)
{
- register int e = errno ;
+ int e = errno ;
rmdir(d.new.s) ;
errno = e ;
goto fail ;