aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index d2a5b2d9..220d0d0c 100644
--- a/daemon.c
+++ b/daemon.c
@@ -205,7 +205,7 @@ daemonize (const char *logfile, void (*termhook)(int))
sigaction (SIGHUP, &sa_new, NULL);
#endif /* HAVE_SIGACTION */
if ((childpid = fork()) < 0) {
- report(stderr, "fork (%)\n", strerror(errno));
+ report(stderr, "fork (%s)\n", strerror(errno));
return(PS_IOERR);
}
else if (childpid > 0) {