diff options
Diffstat (limited to 'libdaemon/dfork.c')
-rw-r--r-- | libdaemon/dfork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdaemon/dfork.c b/libdaemon/dfork.c index 88e77e8..5edcc75 100644 --- a/libdaemon/dfork.c +++ b/libdaemon/dfork.c @@ -150,7 +150,7 @@ pid_t daemon_fork(void) { } if ((pid = fork()) < 0) { /* First fork */ - daemon_log(LOG_ERR, "First fork() failed: %s\n", strerror(errno)); + daemon_log(LOG_ERR, "First fork() failed: %s", strerror(errno)); close(pipe_fds[0]); close(pipe_fds[1]); sigaction(SIGCHLD, &sa_old, NULL); |