summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko2014-05-02 07:18:55 +0200
committerDenys Vlasenko2014-05-02 07:18:55 +0200
commitfe33683c8bad841a1b5e947fcc6a502b85ca53cf (patch)
treedd25ba60726b8af53abc4bb069c2ebdac5ebf02d /libbb
parent43b8a1cc3825eedb85e10cbe2f91a20fbe7c4434 (diff)
downloadbusybox-fe33683c8bad841a1b5e947fcc6a502b85ca53cf.zip
busybox-fe33683c8bad841a1b5e947fcc6a502b85ca53cf.tar.gz
Fix compile failures
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/verror_msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/verror_msg.c b/libbb/verror_msg.c
index 87efb56..0ef2a31 100644
--- a/libbb/verror_msg.c
+++ b/libbb/verror_msg.c
@@ -11,7 +11,9 @@
# include <syslog.h>
#endif
+#if ENABLE_FEATURE_SYSLOG
smallint syslog_level = LOG_ERR;
+#endif
smallint logmode = LOGMODE_STDIO;
const char *msg_eol = "\n";