OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66f12b7
)
Bugfix, facility values are <<3 in the headers.
author
Rob Landley
<rob@landley.net>
Fri, 23 Feb 2018 02:09:08 +0000
(20:09 -0600)
committer
Rob Landley
<rob@landley.net>
Fri, 23 Feb 2018 02:09:08 +0000
(20:09 -0600)
toys/posix/logger.c
patch
|
blob
|
history
diff --git
a/toys/posix/logger.c
b/toys/posix/logger.c
index
b06699e
..
4756299
100644
(file)
--- a/
toys/posix/logger.c
+++ b/
toys/posix/logger.c
@@
-71,6
+71,7
@@
void logger_main(void)
if (facility>=0) facility += 16;
}
if (facility<0) error_exit("bad facility: %s", TT.priority);
+ facility *= 8;
}
priority = arrayfind(s1, priorities, ARRAY_LEN(priorities));