diff options
-rw-r--r-- | libexec/getty/main.c | 2 | ||||
-rw-r--r-- | libexec/rshd/rshd.c | 2 | ||||
-rw-r--r-- | sbin/init/init.c | 2 | ||||
-rw-r--r-- | usr.bin/lock/lock.c | 2 | ||||
-rw-r--r-- | usr.bin/login/login.c | 2 | ||||
-rw-r--r-- | usr.sbin/timed/timedc/timedc.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c index c9d2093..94ecb07 100644 --- a/libexec/getty/main.c +++ b/libexec/getty/main.c @@ -187,7 +187,7 @@ main(int argc, char *argv[]) signal(SIGINT, SIG_IGN); signal(SIGQUIT, SIG_IGN); - openlog("getty", LOG_ODELAY|LOG_CONS|LOG_PID, LOG_AUTH); + openlog("getty", LOG_CONS|LOG_PID, LOG_AUTH); gethostname(hostname, sizeof(hostname) - 1); hostname[sizeof(hostname) - 1] = '\0'; if (hostname[0] == '\0') diff --git a/libexec/rshd/rshd.c b/libexec/rshd/rshd.c index 7cdacae..b315040 100644 --- a/libexec/rshd/rshd.c +++ b/libexec/rshd/rshd.c @@ -127,7 +127,7 @@ main(int argc, char *argv[]) int ch, on = 1; struct sockaddr_storage from; - openlog("rshd", LOG_PID | LOG_ODELAY, LOG_DAEMON); + openlog("rshd", LOG_PID, LOG_DAEMON); opterr = 0; while ((ch = getopt(argc, argv, OPTIONS)) != -1) diff --git a/sbin/init/init.c b/sbin/init/init.c index 8583ba5..5ab3527 100644 --- a/sbin/init/init.c +++ b/sbin/init/init.c @@ -242,7 +242,7 @@ invalid: * Note that this does NOT open a file... * Does 'init' deserve its own facility number? */ - openlog("init", LOG_CONS|LOG_ODELAY, LOG_AUTH); + openlog("init", LOG_CONS, LOG_AUTH); /* * Create an initial session. diff --git a/usr.bin/lock/lock.c b/usr.bin/lock/lock.c index acc0e29..8c12946 100644 --- a/usr.bin/lock/lock.c +++ b/usr.bin/lock/lock.c @@ -97,7 +97,7 @@ main(int argc, char **argv) char *ap, *cryptpw, *mypw, *ttynam, *tzn; char hostname[MAXHOSTNAMELEN], s[BUFSIZ], s1[BUFSIZ]; - openlog("lock", LOG_ODELAY, LOG_AUTH); + openlog("lock", 0, LOG_AUTH); sectimeout = TIMEOUT; pw = NULL; diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 503002d..d1d9bbe 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -198,7 +198,7 @@ main(int argc, char *argv[]) (void)alarm(timeout); (void)setpriority(PRIO_PROCESS, 0, 0); - openlog("login", LOG_ODELAY, LOG_AUTH); + openlog("login", 0, LOG_AUTH); uid = getuid(); euid = geteuid(); diff --git a/usr.sbin/timed/timedc/timedc.c b/usr.sbin/timed/timedc/timedc.c index f81da89..2f3e508 100644 --- a/usr.sbin/timed/timedc/timedc.c +++ b/usr.sbin/timed/timedc/timedc.c @@ -66,7 +66,7 @@ main(int argc, char *argv[]) { register struct cmd *c; - openlog("timedc", LOG_ODELAY, LOG_AUTH); + openlog("timedc", 0, LOG_AUTH); /* * security dictates! |