diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-11 15:59:49 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-11 15:59:49 +0000 |
commit | 54ac03a61885c714b4ef606b0a09129b27f72626 (patch) | |
tree | 4ae8d46bdb75bb2c4e815c3affb67516ff293c8e /loginutils | |
parent | 4221e90ae468acc4b6c43faa36aee5160d2738c6 (diff) |
*: remove LOG_NOWAIT
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 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; |