diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-11 18:59:49 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-11 18:59:49 +0300 |
commit | 54ac03a61885c714b4ef606b0a09129b27f72626 (patch) | |
tree | 4ae8d46bdb75bb2c4e815c3affb67516ff293c8e | |
parent | 4221e90ae468acc4b6c43faa36aee5160d2738c6 (diff) |
*: remove LOG_NOWAIT
-rw-r--r-- | loginutils/login.c | 2 | ||||
-rw-r--r-- | loginutils/passwd.c | 2 | ||||
-rw-r--r-- | networking/inetd.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 85bb737a6..b7b9ee1d8 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -342,7 +342,7 @@ int login_main(int argc UNUSED_PARAM, char **argv) /* Was breaking "login <username>" from shell command line: */ /*bb_setpgrp();*/ - openlog(applet_name, LOG_PID | LOG_CONS | LOG_NOWAIT, LOG_AUTH); + openlog(applet_name, LOG_PID | LOG_CONS, LOG_AUTH); while (1) { /* flush away any type-ahead (as getty does) */ diff --git a/loginutils/passwd.c b/loginutils/passwd.c index aa89b87a7..9ed78c1b7 100644 --- a/loginutils/passwd.c +++ b/loginutils/passwd.c @@ -100,7 +100,7 @@ int passwd_main(int argc UNUSED_PARAM, char **argv) #endif logmode = LOGMODE_BOTH; - openlog(applet_name, LOG_NOWAIT, LOG_AUTH); + openlog(applet_name, 0, LOG_AUTH); opt = getopt32(argv, "a:lud", &opt_a); //argc -= optind; argv += optind; diff --git a/networking/inetd.c b/networking/inetd.c index 72d51010e..590bf23d2 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -1119,7 +1119,7 @@ int inetd_main(int argc UNUSED_PARAM, char **argv) else bb_sanitize_stdio(); if (!(opt & 4)) { - openlog(applet_name, LOG_PID | LOG_NOWAIT, LOG_DAEMON); + openlog(applet_name, LOG_PID, LOG_DAEMON); logmode = LOGMODE_SYSLOG; } |