Skip to content

Commit 1691ebb

Browse files
committed
logit(): RFC3164 conformance for /dev/kmsg fallback
RFC3164 section 5.3 states; "a colon and a space character usually follow the TAG". This is also the reference format in the kernel: https://www.kernel.org/doc/Documentation/ABI/testing/dev-kmsg Signed-off-by: Joachim Wiberg <[email protected]>
1 parent c371c10 commit 1691ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/log.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ void logit(int prio, const char *fmt, ...)
139139
goto done;
140140
}
141141

142-
fprintf(fp, "<%d>finit[1]:", LOG_DAEMON | prio);
142+
fprintf(fp, "<%d>finit[1]: ", LOG_DAEMON | prio);
143143
vfprintf(fp, fmt, ap);
144144
fclose(fp);
145145

0 commit comments

Comments
 (0)