diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-16 21:12:29 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-16 21:12:29 +0000 |
commit | 03f13c24a8a9ec87db38b4f319d46dd88e64a508 (patch) | |
tree | e9c831443663c18480d55dd59c7b59f46a1d17d2 /daemon.c | |
parent | 1a1c64589dab9b9ed221a155db0ecc77476ae3da (diff) | |
download | fetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.tar.gz fetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.tar.bz2 fetchmail-03f13c24a8a9ec87db38b4f319d46dd88e64a508.zip |
Philippe de Muyter's Motorola fixes.
svn path=/trunk/; revision=781
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |