Remove LOG_ODELAY because it does nothing.
Reviewed by: jilles CR: https://reviews.freebsd.org/D611
This commit is contained in:
parent
e6b802649c
commit
06224a9492
@ -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')
|
||||
|
@ -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)
|
||||
|
@ -242,7 +242,7 @@ main(int argc, char *argv[])
|
||||
* 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.
|
||||
|
@ -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;
|
||||
|
@ -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();
|
||||
|
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user