diff options
author | neel <neel@FreeBSD.org> | 2014-08-17 19:06:26 +0000 |
---|---|---|
committer | neel <neel@FreeBSD.org> | 2014-08-17 19:06:26 +0000 |
commit | eb80e5e63b6c7558bbfb33b043e56823c2fc31a6 (patch) | |
tree | 7e58aebade248c200461ba181e0138f63211b976 /usr.bin | |
parent | a62a72ce2b1413d8856c3ceefe40c0e9f7696a76 (diff) | |
download | FreeBSD-src-eb80e5e63b6c7558bbfb33b043e56823c2fc31a6.zip FreeBSD-src-eb80e5e63b6c7558bbfb33b043e56823c2fc31a6.tar.gz |
Remove LOG_ODELAY because it does nothing.
Reviewed by: jilles
CR: https://reviews.freebsd.org/D611
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/lock/lock.c | 2 | ||||
-rw-r--r-- | usr.bin/login/login.c | 2 |
2 files changed, 2 insertions, 2 deletions
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(); |