diff options
author | Richard Braun <rbraun@sceen.net> | 2017-07-24 23:30:11 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-07-24 23:30:11 +0200 |
commit | f504f743a969a82012a8c60283fe130c1dc5d74f (patch) | |
tree | aa7098e89d9e70ef5c0b3d3915f4525d99333f49 /kern/log.c | |
parent | 6e16ff5a6002400489349f55cc7961bccf2fe520 (diff) |
kern/cbuf: update from upstream
Diffstat (limited to 'kern/log.c')
-rw-r--r-- | kern/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -461,7 +461,7 @@ log_write(const void *s, size_t size) { int error; - error = cbuf_write(&log_cbuf, cbuf_end(&log_cbuf), s, size); + error = cbuf_push(&log_cbuf, s, size, true); assert(!error); if (!cbuf_range_valid(&log_cbuf, log_index, log_index + 1)) { |