*: remove LOG_NOWAIT
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 11 Mar 2009 15:59:49 +0000 (15:59 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 11 Mar 2009 15:59:49 +0000 (15:59 -0000)
loginutils/login.c
loginutils/passwd.c
networking/inetd.c

index 85bb737..b7b9ee1 100644 (file)
@@ -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) */
index aa89b87..9ed78c1 100644 (file)
@@ -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;
index 72d5101..590bf23 100644 (file)
@@ -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;
        }