From 4d00d13c3eacf38b7fb49cc38055b5cf618a4664 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 1 Dec 2016 04:35:38 +0000 Subject: [PATCH] Simplify test. --- sbin/devd/devd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/devd/devd.cc b/sbin/devd/devd.cc index b2aea194973c..d88c1507b71e 100644 --- a/sbin/devd/devd.cc +++ b/sbin/devd/devd.cc @@ -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); }