aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/dhcpd.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2014-07-17 22:50:49 -0500
committerRob Landley <rob@landley.net>2014-07-17 22:50:49 -0500
commitc880061f511e85d55afe3966f5eda0df7c3ebb56 (patch)
treef6fedbd6dbe1f819bfa63210eb61b25ca6476ef6 /toys/pending/dhcpd.c
parentfc7bc38af05fc882472d310a0b68648ed990ef2d (diff)
downloadtoybox-c880061f511e85d55afe3966f5eda0df7c3ebb56.tar.gz
Use libc daemon() instead of pending daemonize.
Diffstat (limited to 'toys/pending/dhcpd.c')
-rw-r--r--toys/pending/dhcpd.c2
1 files changed, 1 insertions, 1 deletions
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)) {