summaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-12 18:09:26 +0000
committerBernhard Reutner-Fischer2006-04-12 18:09:26 +0000
commit2c99851181a652358aa3ca58ef38c57e46ae02e4 (patch)
tree6893f7992748817b64ec66947adc2ca40e13fb8e /networking/inetd.c
parentdac7ff15b7d32deeeef3d9665744fc5774c21d70 (diff)
downloadbusybox-2c99851181a652358aa3ca58ef38c57e46ae02e4.zip
busybox-2c99851181a652358aa3ca58ef38c57e46ae02e4.tar.gz
- patch from Denis Vlasenko to add and use bb_xdaemon()
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index cc70083..39a2b24 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -1314,7 +1314,7 @@ inetd_main (int argc, char *argv[])
/* reexec for vfork() do continue parent */
vfork_daemon_rexec (0, 0, argc, argv, "-f");
#else
- daemon (0, 0);
+ daemon (0, 0); /* bb_xdaemon? */
#endif /* uClinux */
} else {
setsid ();
@@ -1802,3 +1802,4 @@ daytime_dg (int s, servtab_t *sep ATTRIBUTE_UNUSED)
(void) sendto (s, buffer, strlen (buffer), 0, &sa, sizeof (sa));
}
#endif /* CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME */
+/* vi: set sw=4 ts=4: */