Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-toybox: Commit

external/toybox


Commit MetaInfo

Revision63b9816bf32a22b5a7e44457ec6c8935bb71cac3 (tree)
Time2018-02-23 11:09:08
AuthorRob Landley <rob@land...>
CommiterRob Landley

Log Message

Bugfix, facility values are <<3 in the headers.

Change Summary

Incremental Difference

--- a/toys/posix/logger.c
+++ b/toys/posix/logger.c
@@ -71,6 +71,7 @@ void logger_main(void)
7171 if (facility>=0) facility += 16;
7272 }
7373 if (facility<0) error_exit("bad facility: %s", TT.priority);
74+ facility *= 8;
7475 }
7576
7677 priority = arrayfind(s1, priorities, ARRAY_LEN(priorities));
Show on old repository browser