aboutsummaryrefslogtreecommitdiff
path: root/sbin/devd/devd.cc
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2016-12-01 04:35:38 +0000
committerWarner Losh <imp@FreeBSD.org>2016-12-01 04:35:38 +0000
commit4d00d13c3eacf38b7fb49cc38055b5cf618a4664 (patch)
tree99ea0c0022b3edca561534d8ee814e616bc96315 /sbin/devd/devd.cc
parent8e7d3136253e277b4163bdc20b67facf1398e4f2 (diff)
Notes
Diffstat (limited to 'sbin/devd/devd.cc')
-rw-r--r--sbin/devd/devd.cc2
1 files changed, 1 insertions, 1 deletions
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);
}