summaryrefslogtreecommitdiff
path: root/src/libs6/s6_svc_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6/s6_svc_write.c')
-rw-r--r--src/libs6/s6_svc_write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6/s6_svc_write.c b/src/libs6/s6_svc_write.c
index 03bf648..b7d2a27 100644
--- a/src/libs6/s6_svc_write.c
+++ b/src/libs6/s6_svc_write.c
@@ -13,7 +13,7 @@ int s6_svc_write (char const *fifo, char const *data, size_t datalen)
else if (ndelay_off(fd) == -1) return -1 ;
else if (fd_write(fd, data, datalen) == -1)
{
- register int e = errno ;
+ int e = errno ;
fd_close(fd) ;
errno = e ;
return -1 ;