diff options
Diffstat (limited to 'sys/kern/kern_syslog.c')
-rw-r--r-- | sys/kern/kern_syslog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_syslog.c b/sys/kern/kern_syslog.c index 7394e24..f52c05f 100644 --- a/sys/kern/kern_syslog.c +++ b/sys/kern/kern_syslog.c @@ -124,6 +124,7 @@ kprintf(const char *fmt, ...) if (req_timer(TIMER_GP, &tmr) != 0) has_counter = false; + /* If we can use the counter, format the timestamp */ if (has_counter) { if (tmr.get_time_sec != NULL && tmr.get_time_usec != NULL) snprintf(timestamp, sizeof(timestamp), "[ %d.%06d] ", |