diff options
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/login.c | 2 | ||||
-rw-r--r-- | loginutils/passwd.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 85bb737..b7b9ee1 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 aa89b87..9ed78c1 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; |