From owner-svn-src-head@FreeBSD.ORG Sun Aug 17 19:06:28 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C35BC7B; Sun, 17 Aug 2014 19:06:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4657D2446; Sun, 17 Aug 2014 19:06:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7HJ6SmK072820; Sun, 17 Aug 2014 19:06:28 GMT (envelope-from neel@FreeBSD.org) Received: (from neel@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7HJ6Rs1072814; Sun, 17 Aug 2014 19:06:27 GMT (envelope-from neel@FreeBSD.org) Message-Id: <201408171906.s7HJ6Rs1072814@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: neel set sender to neel@FreeBSD.org using -f From: Neel Natu Date: Sun, 17 Aug 2014 19:06:27 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r270111 - in head: libexec/getty libexec/rshd sbin/init usr.bin/lock usr.bin/login usr.sbin/timed/timedc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2014 19:06:28 -0000 Author: neel Date: Sun Aug 17 19:06:26 2014 New Revision: 270111 URL: http://svnweb.freebsd.org/changeset/base/270111 Log: Remove LOG_ODELAY because it does nothing. Reviewed by: jilles CR: https://reviews.freebsd.org/D611 Modified: head/libexec/getty/main.c head/libexec/rshd/rshd.c head/sbin/init/init.c head/usr.bin/lock/lock.c head/usr.bin/login/login.c head/usr.sbin/timed/timedc/timedc.c Modified: head/libexec/getty/main.c ============================================================================== --- head/libexec/getty/main.c Sun Aug 17 18:27:02 2014 (r270110) +++ head/libexec/getty/main.c Sun Aug 17 19:06:26 2014 (r270111) @@ -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') Modified: head/libexec/rshd/rshd.c ============================================================================== --- head/libexec/rshd/rshd.c Sun Aug 17 18:27:02 2014 (r270110) +++ head/libexec/rshd/rshd.c Sun Aug 17 19:06:26 2014 (r270111) @@ -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) Modified: head/sbin/init/init.c ============================================================================== --- head/sbin/init/init.c Sun Aug 17 18:27:02 2014 (r270110) +++ head/sbin/init/init.c Sun Aug 17 19:06:26 2014 (r270111) @@ -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. Modified: head/usr.bin/lock/lock.c ============================================================================== --- head/usr.bin/lock/lock.c Sun Aug 17 18:27:02 2014 (r270110) +++ head/usr.bin/lock/lock.c Sun Aug 17 19:06:26 2014 (r270111) @@ -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; Modified: head/usr.bin/login/login.c ============================================================================== --- head/usr.bin/login/login.c Sun Aug 17 18:27:02 2014 (r270110) +++ head/usr.bin/login/login.c Sun Aug 17 19:06:26 2014 (r270111) @@ -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(); Modified: head/usr.sbin/timed/timedc/timedc.c ============================================================================== --- head/usr.sbin/timed/timedc/timedc.c Sun Aug 17 18:27:02 2014 (r270110) +++ head/usr.sbin/timed/timedc/timedc.c Sun Aug 17 19:06:26 2014 (r270111) @@ -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!