From 1691ebb2925b985356d3ba03c672990f2cd8a4a1 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 3 Mar 2025 03:39:55 +0100 Subject: [PATCH] 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 --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index b776525a..7eb80d62 100644 --- a/src/log.c +++ b/src/log.c @@ -139,7 +139,7 @@ void logit(int prio, const char *fmt, ...) goto done; } - fprintf(fp, "<%d>finit[1]:", LOG_DAEMON | prio); + fprintf(fp, "<%d>finit[1]: ", LOG_DAEMON | prio); vfprintf(fp, fmt, ap); fclose(fp);