From 80c9ac57e65eec746ffeba968efc8163e0f0e9ae Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 27 May 2024 09:03:33 -0400 Subject: kernel: syslog: Add extra comment Signed-off-by: Ian Moffett --- sys/kern/kern_syslog.c | 1 + 1 file changed, 1 insertion(+) 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] ", -- cgit v1.2.3