commit | b750dec40a4bf013f98658b46925117d9d1d4811 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Thu Sep 07 16:03:45 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Thu Sep 07 16:03:45 2006 +0000 |
tree | 780f2019be61906fa1f7410bca8538a695bddf95 | |
parent | 049d6b8c0812b20c024d714a9008cc94713a6175 [diff] [blame] |
fix if (ENABLE_FEATURE_SYSLOG & (...)) - should be &&
diff --git a/libbb/vinfo_msg.c b/libbb/vinfo_msg.c index 84825bc..82fbda2 100644 --- a/libbb/vinfo_msg.c +++ b/libbb/vinfo_msg.c
@@ -24,7 +24,7 @@ vprintf(s, p); putchar('\n'); } - if (ENABLE_FEATURE_SYSLOG & (logmode & LOGMODE_SYSLOG)) + if (ENABLE_FEATURE_SYSLOG && (logmode & LOGMODE_SYSLOG)) vsyslog(LOG_INFO, s, p2); va_end(p2); }