projects
/
openwrt
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
toolchain/musl: add version 0.9.10
[openwrt/.git]
/
toolchain
/
musl
/
patches-0.9.10
/
130-syslog_log_upto_parenthesis.patch
1
--- a/include/syslog.h
2
+++ b/include/syslog.h
3
@@ -21,7 +21,7 @@ extern "C" {
4
#define LOG_MAKEPRI(f, p) (((f)<<3)|(p))
5
6
#define LOG_MASK(p) (1<<(p))
7
-#define LOG_UPTO(p) ((1<<(p)+1)-1)
8
+#define LOG_UPTO(p) ((1<<((p)+1))-1)
9
10
#define LOG_KERN (0<<3)
11
#define LOG_USER (1<<3)