summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-24 18:01:21 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-24 18:01:21 +0100
commitc507a09026d18998f4030eaa8a332cfaae0b81d8 (patch)
tree8e70469bf65efaa40571f2999d06cddf7f1b3756 /src/daemon/daemon.c
parent1df1dc0304e77d4348e3a70517f004dca7a56ffe (diff)
downloadwolfbones-c507a09026d18998f4030eaa8a332cfaae0b81d8.tar.gz
wolfbones-c507a09026d18998f4030eaa8a332cfaae0b81d8.tar.bz2
fixed nasty copy-paste bug about SIGIO/SIGPOLL signal handlers
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 5af9993..7ce6152 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -232,7 +232,7 @@ static wolf_error_t install_signal_handlers_parent( void ) {
#if SIGIO != SIGPOLL
SIGIO,
#else
-#if defined( SIGCHLD )
+#if defined( SIGPOLL )
SIGPOLL,
#endif
#if defined( SIGIO )
@@ -843,7 +843,7 @@ wolf_error_t wolf_daemon_signals_install_handlers( void ) {
#if SIGIO != SIGPOLL
SIGIO,
#else
-#if defined( SIGCHLD )
+#if defined( SIGPOLL )
SIGPOLL,
#endif
#if defined( SIGIO )