summaryrefslogtreecommitdiffhomepage
path: root/libbb/vinfo_msg.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-07 16:03:45 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-07 16:03:45 +0000
commitb750dec40a4bf013f98658b46925117d9d1d4811 (patch)
tree780f2019be61906fa1f7410bca8538a695bddf95 /libbb/vinfo_msg.c
parent049d6b8c0812b20c024d714a9008cc94713a6175 (diff)
fix if (ENABLE_FEATURE_SYSLOG & (...)) - should be &&
Diffstat (limited to 'libbb/vinfo_msg.c')
-rw-r--r--libbb/vinfo_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/vinfo_msg.c b/libbb/vinfo_msg.c
index 84825bc76..82fbda221 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)
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);
}