svn commit: r309349 - head/sbin/devd

Warner Losh imp at FreeBSD.org
Thu Dec 1 04:35:39 UTC 2016


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);
 }


More information about the svn-src-all mailing list