]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
ulogd: add missing newline in log message
authorEric Leblond <eric@regit.org>
Fri, 5 Feb 2016 10:55:26 +0000 (11:55 +0100)
committerEric Leblond <eric@regit.org>
Fri, 5 Feb 2016 10:58:31 +0000 (11:58 +0100)
src/ulogd.c

index c8d9376e0b83492993c8465f6f824fb940d44fa5..5b9a58691e374cc8c03176469b8d28de25b7fc86 100644 (file)
@@ -1515,7 +1515,7 @@ int main(int argc, char* argv[])
 
        if (daemonize){
                if (daemon(0, 0) < 0) {
-                       ulogd_log(ULOGD_FATAL, "can't daemonize: %s (%d)",
+                       ulogd_log(ULOGD_FATAL, "can't daemonize: %s (%d)\n",
                                  errno, strerror(errno));
                        warn_and_exit(daemonize);
                }