From 6305fe2580781df44e93c1ec8ed380896680960d Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 21 Jul 2018 16:42:59 +0000 Subject: Adapt to skalibs-2.7.0.0 --- src/conn-tools/s6-accessrules-cdb-from-fs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/conn-tools') diff --git a/src/conn-tools/s6-accessrules-cdb-from-fs.c b/src/conn-tools/s6-accessrules-cdb-from-fs.c index 9efacdb..ab61451 100644 --- a/src/conn-tools/s6-accessrules-cdb-from-fs.c +++ b/src/conn-tools/s6-accessrules-cdb-from-fs.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -20,9 +21,7 @@ static stralloc tmp = STRALLOC_ZERO ; static void cleanup (void) { - int e = errno ; - unlink(tmp.s) ; - errno = e ; + unlink_void(tmp.s) ; } static void dienomem (void) -- cgit v1.2.3