diff options
Diffstat (limited to 'libbb/verror_msg.c')
-rw-r--r-- | libbb/verror_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/verror_msg.c b/libbb/verror_msg.c index 237547d..be206e4 100644 --- a/libbb/verror_msg.c +++ b/libbb/verror_msg.c @@ -32,7 +32,7 @@ void bb_verror_msg(const char *s, va_list p, const char* strerr) else fprintf(stderr, ": %s\n", strerr); } - if (logmode & LOGMODE_SYSLOG) { + if (ENABLE_FEATURE_SYSLOG & (logmode & LOGMODE_SYSLOG)) { if (!strerr) vsyslog(LOG_ERR, s, p2); else { |