diff options
Diffstat (limited to 'libbb/vinfo_msg.c')
-rw-r--r-- | libbb/vinfo_msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/vinfo_msg.c b/libbb/vinfo_msg.c index e8776e5f4..84825bc76 100644 --- a/libbb/vinfo_msg.c +++ b/libbb/vinfo_msg.c | |||
@@ -24,7 +24,7 @@ void bb_vinfo_msg(const char *s, va_list p) | |||
24 | vprintf(s, p); | 24 | vprintf(s, p); |
25 | putchar('\n'); | 25 | putchar('\n'); |
26 | } | 26 | } |
27 | if (logmode & LOGMODE_SYSLOG) | 27 | if (ENABLE_FEATURE_SYSLOG & (logmode & LOGMODE_SYSLOG)) |
28 | vsyslog(LOG_INFO, s, p2); | 28 | vsyslog(LOG_INFO, s, p2); |
29 | va_end(p2); | 29 | va_end(p2); |
30 | } | 30 | } |