syslog: If syslog timestamping is enabled, don't try to get the time if the timer hardware has not yet been initialized.

This commit is contained in:
Gregory Nutt
2016-02-05 08:36:43 -06:00
parent 2dc258986d
commit 8a9fa634bf
2 changed files with 28 additions and 57 deletions
+3
View File
@@ -11456,3 +11456,6 @@
some logic that may attempt to run early in the start-up sequence but
cannot run if a sufficient level of initialization has not yet occurred
(2016-02-05).
* libc/syslog/lib_syslog.c: If syslog timestamping is enabled, don't try to
get the time if the timer hardware has not yet been initialized
(2016-02-05).