summaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-14 13:12:06 +0000
committerDenis Vlasenko2007-01-14 13:12:06 +0000
commitd97c9244b18dbfc373465a111c9a17a28e84477d (patch)
tree141a5ae1628989a73dcb87419bbe555746e8b333 /networking/inetd.c
parentb8b81a6f8fc8083ebef4a5557fe8e2121d623152 (diff)
downloadbusybox-d97c9244b18dbfc373465a111c9a17a28e84477d.zip
busybox-d97c9244b18dbfc373465a111c9a17a28e84477d.tar.gz
Rename bb_sanitize_stdio -> bb_sanitize_server_stdio
(name is still bad - it doesn't hint that function may do daemonization trick for you if asked to). Small fixes to fakeidentd.
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index fd2c88a..01f38ad 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -1292,9 +1292,9 @@ inetd_main(int argc, char *argv[])
/* reexec for vfork() do continue parent */
vfork_daemon_rexec(0, 0, argc, argv, "-f");
}
- bb_sanitize_stdio(0);
+ bb_sanitize_server_stdio(0);
#else
- bb_sanitize_stdio(!(opt & 2));
+ bb_sanitize_server_stdio(!(opt & 2));
#endif
openlog(applet_name, LOG_PID | LOG_NOWAIT, LOG_DAEMON);
logmode = LOGMODE_SYSLOG;