Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
write() is allowed to write only partial data. Good luck debugging why some part of the log message is missing. This commit changes the logging to use write_all() instead, which ensures everything is written. This might end up doing multiple writes to /dev/kmsg, which would turn into multiple log records. I think that is still better than silently discarding some data. Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information