log: ensure we don't truncate the final '\0' in the log
authorJens Axboe <axboe@fb.com>
Wed, 24 May 2017 03:51:59 +0000 (21:51 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 24 May 2017 03:51:59 +0000 (21:51 -0600)
commitc78e8496d438982157657711fbff8bedb621c1c9
tree471efd02facc869502c3348d6c310ba874d8b244
parent7d64aa48fcfc03a93ea1623338a760e66406b132
log: ensure we don't truncate the final '\0' in the log

Fixes: 7d64aa48 ("log: make the logging functions handle > 1024 bytes correctly")
Signed-off-by: Jens Axboe <axboe@fb.com>
log.c