From c880061f511e85d55afe3966f5eda0df7c3ebb56 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 17 Jul 2014 22:50:49 -0500 Subject: Use libc daemon() instead of pending daemonize. --- toys/pending/dhcpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/pending/dhcpd.c') diff --git a/toys/pending/dhcpd.c b/toys/pending/dhcpd.c index 2919cb52..7da51949 100644 --- a/toys/pending/dhcpd.c +++ b/toys/pending/dhcpd.c @@ -1086,7 +1086,7 @@ void dhcpd_main(void) infomode = LOG_CONSOLE; if (!(flag_chk(FLAG_f))) { - daemonize(); + daemon(0,0); infomode = LOG_SILENT; } if (flag_chk(FLAG_S)) { -- cgit v1.2.3