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 /libexec | |
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 'libexec')
-rw-r--r-- | libexec/getty/main.c | 2 | ||||
-rw-r--r-- | libexec/rshd/rshd.c | 2 |
2 files changed, 2 insertions, 2 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) |