From 03f13c24a8a9ec87db38b4f319d46dd88e64a508 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 16 Jan 1997 21:12:29 +0000 Subject: Philippe de Muyter's Motorola fixes. svn path=/trunk/; revision=781 --- daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'daemon.c') diff --git a/daemon.c b/daemon.c index 9256af93..aa3917db 100644 --- a/daemon.c +++ b/daemon.c @@ -32,7 +32,7 @@ #endif /* BSD portability hack */ -#if !defined(SIGCHLD) && defined(SICHLD) +#if !defined(SIGCHLD) && defined(SIGCLD) #define SIGCHLD SIGCLD #endif @@ -124,7 +124,7 @@ daemonize (const char *logfile, void (*termhook)(int)) /* lose controlling tty */ signal(SIGHUP, SIG_IGN); - if ((childpid = fork) < 0) { + if ((childpid = fork()) < 0) { error(0, errno, "fork"); return(PS_IOERR); } -- cgit v1.2.3