aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 912505026..52bc33940 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -642,8 +642,8 @@ enum { wrote_pidfile = 0 };
enum {
LOGMODE_NONE = 0,
- LOGMODE_STDIO = 1<<0,
- LOGMODE_SYSLOG = 1<<1,
+ LOGMODE_STDIO = (1 << 0),
+ LOGMODE_SYSLOG = (1 << 1) * ENABLE_FEATURE_SYSLOG,
LOGMODE_BOTH = LOGMODE_SYSLOG + LOGMODE_STDIO,
};
extern const char *msg_eol;