diff options
author | Denis Vlasenko | 2006-09-07 16:03:45 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-07 16:03:45 +0000 |
commit | b750dec40a4bf013f98658b46925117d9d1d4811 (patch) | |
tree | 780f2019be61906fa1f7410bca8538a695bddf95 /libbb/verror_msg.c | |
parent | 049d6b8c0812b20c024d714a9008cc94713a6175 (diff) | |
download | busybox-b750dec40a4bf013f98658b46925117d9d1d4811.zip busybox-b750dec40a4bf013f98658b46925117d9d1d4811.tar.gz |
fix if (ENABLE_FEATURE_SYSLOG & (...)) - should be &&
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 be206e4..d55da73 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 (ENABLE_FEATURE_SYSLOG & (logmode & LOGMODE_SYSLOG)) { + if (ENABLE_FEATURE_SYSLOG && (logmode & LOGMODE_SYSLOG)) { if (!strerr) vsyslog(LOG_ERR, s, p2); else { |