summaryrefslogtreecommitdiff
path: root/src/daemontools-extras
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-01-11 23:49:39 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-01-11 23:49:39 +0000
commit72d9f013c4a4d47273f78b40f080b49494bab78f (patch)
treeffc70ddcf00dd297ec0cb05acd6bc9303f740799 /src/daemontools-extras
parent2da4c96f308834570b2f62bbf3b9e0cfcffe58b8 (diff)
downloads6-72d9f013c4a4d47273f78b40f080b49494bab78f.tar.xz
Clean up static/shared libs initialization in configure and Makefile
fd_close -> close in s6-notifywhenup
Diffstat (limited to 'src/daemontools-extras')
-rw-r--r--src/daemontools-extras/s6-notifywhenup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemontools-extras/s6-notifywhenup.c b/src/daemontools-extras/s6-notifywhenup.c
index 61388df..37f6de1 100644
--- a/src/daemontools-extras/s6-notifywhenup.c
+++ b/src/daemontools-extras/s6-notifywhenup.c
@@ -75,10 +75,10 @@ int main (int argc, char const *const *argv, char const *const *envp)
else if (!pid)
{
PROG = "s6-notifywhenup (child)" ;
- fd_close(p[1]) ;
+ close(p[1]) ;
return run_child(p[0], fifodir, timeout) ;
}
- fd_close(p[0]) ;
+ close(p[0]) ;
if (fd_move((int)fd, p[1]) < 0) strerr_diefu1sys(111, "fd_move") ;
}
pathexec_run(argv[0], argv, envp) ;