summaryrefslogtreecommitdiff
path: root/src/libunixonacid/openslurpclose_at.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/openslurpclose_at.c')
-rw-r--r--src/libunixonacid/openslurpclose_at.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunixonacid/openslurpclose_at.c b/src/libunixonacid/openslurpclose_at.c
index cf2f8ee..24a2d1c 100644
--- a/src/libunixonacid/openslurpclose_at.c
+++ b/src/libunixonacid/openslurpclose_at.c
@@ -11,7 +11,7 @@ int openslurpclose_at (int dirfd, char const *fn, stralloc *sa)
if (fd < 0) return 0 ;
if (!slurp(sa, fd))
{
- register int e = errno ;
+ int e = errno ;
fd_close(fd) ;
errno = e ;
return 0 ;