Skip to content
Snippets Groups Projects
Commit ec8a0e88 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

logging: automatically add trailing newline

syslog() will add the newline automatically
parent 3874988b
No related branches found
No related tags found
No related merge requests found
......@@ -277,7 +277,7 @@ static int emit_log_msg(logsrc_t src, int level, const char *msg)
}
// Print
ret = fprintf(stream, "%s%s", tstr, msg);
ret = fprintf(stream, "%s%s\n", tstr, msg);
if (stream == stdout) {
fflush(stream);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment