From 62dea3aecf0739588d87841b6528eefb4295491e Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 22 May 2022 22:06:32 +0200 Subject: [PATCH] Minor, fix missing \n in calls to logit() Signed-off-by: Joachim Wiberg --- src/syslogd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/syslogd.c b/src/syslogd.c index 3b89101..cdab802 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -586,7 +586,7 @@ no_klogd: * Tell system we're up and running by creating /run/syslogd.pid */ if (pidfile(PidFile)) - logit("Failed creating %s: %s", PidFile, strerror(errno)); + logit("Failed creating %s: %s\n", PidFile, strerror(errno)); /* Tell parent we're up and running */ if (ppid != 1) @@ -2603,7 +2603,7 @@ static void init(void) fp = cftemp(); if (!fp) { - logit("Cannot even create a tempfile: %s", strerror(errno)); + logit("Cannot even create a tempfile: %s\n", strerror(errno)); return; } } @@ -3124,7 +3124,7 @@ static int cfparse(FILE *fp, struct files *newf, struct notifiers *newn) continue; } - logit("Parsing %s ...", gl.gl_pathv[i]); + logit("Parsing %s ...\n", gl.gl_pathv[i]); cfparse(fpi, newf, newn); fclose(fpi); }