diff options
author | Rob Landley <rob@landley.net> | 2018-02-22 20:09:08 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-02-22 20:09:08 -0600 |
commit | 63b9816bf32a22b5a7e44457ec6c8935bb71cac3 (patch) | |
tree | 157535ebd8d5cf636143d53154dc7ae26c90ec97 /toys | |
parent | 66f12b756a5431fe364c6817ec64e4e373bdc55a (diff) | |
download | toybox-63b9816bf32a22b5a7e44457ec6c8935bb71cac3.tar.gz |
Bugfix, facility values are <<3 in the headers.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/logger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toys/posix/logger.c b/toys/posix/logger.c index b06699eb..47562999 100644 --- 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)); |