Simplify test.
This commit is contained in:
parent
8e7d313625
commit
4d00d13c3e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309349
@ -1193,7 +1193,7 @@ devdlog(int priority, const char* fmt, ...)
|
|||||||
va_start(argp, fmt);
|
va_start(argp, fmt);
|
||||||
if (no_daemon)
|
if (no_daemon)
|
||||||
vfprintf(stderr, fmt, argp);
|
vfprintf(stderr, fmt, argp);
|
||||||
else if ((! quiet_mode) || (priority <= LOG_WARNING))
|
else if (quiet_mode == 0 || priority <= LOG_WARNING)
|
||||||
vsyslog(priority, fmt, argp);
|
vsyslog(priority, fmt, argp);
|
||||||
va_end(argp);
|
va_end(argp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user