diff options
author | Richard Braun <rbraun@sceen.net> | 2019-05-05 19:30:56 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2019-05-05 19:30:56 +0200 |
commit | 8ce65cbf3ec34106ce82529ed3818ab6b5ef54a1 (patch) | |
tree | b395f3d32c36945af5c529ea7238a6fdd71778aa | |
parent | 899460dd71a728179f6dbf737c735daa5520013a (diff) |
kern/log: fix log writes
Erase old messages when the message buffer gets full.
-rw-r--r-- | kern/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -374,7 +374,7 @@ log_vmsg(unsigned int level, const char *format, va_list ap) spinlock_lock_intr_save(&log_lock, &flags); - error = mbuf_push(&log_mbuf, &record, size, false); + error = mbuf_push(&log_mbuf, &record, size, true); if (error) { log_nr_overruns++; |