Date: Thu, 1 Dec 2016 04:35:38 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309349 - head/sbin/devd Message-ID: <201612010435.uB14ZcfB019961@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu Dec 1 04:35:38 2016 New Revision: 309349 URL: https://svnweb.freebsd.org/changeset/base/309349 Log: Simplify test. Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc ============================================================================== --- head/sbin/devd/devd.cc Thu Dec 1 03:39:34 2016 (r309348) +++ head/sbin/devd/devd.cc Thu Dec 1 04:35:38 2016 (r309349) @@ -1193,7 +1193,7 @@ devdlog(int priority, const char* fmt, . va_start(argp, fmt); if (no_daemon) vfprintf(stderr, fmt, argp); - else if ((! quiet_mode) || (priority <= LOG_WARNING)) + else if (quiet_mode == 0 || priority <= LOG_WARNING) vsyslog(priority, fmt, argp); va_end(argp); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612010435.uB14ZcfB019961>