path: root/src/run.c
diff options
authorFlorian Westphal <>2013-06-02 23:18:24 +0000
committerPablo Neira Ayuso <>2013-06-05 04:40:29 +0200
commit6869ca4032411ac79e6f2cda3cbd401c444364ef (patch)
tree34822e5a244ef68e5bf47027817527c9415c01da /src/run.c
parentca99976f450afa0f7ec2f4320e863860990af61d (diff)
conntrackd: fix compiler warnings
main.c:359:6: warning: ignoring return value of 'nice' [..] main.c:395:7: warning: ignoring return value of 'chdir' [..] run.c:43:17: warning: declaration of 'signal' shadows a global declaration Signed-off-by: Florian Westphal <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'src/run.c')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/run.c b/src/run.c
index 44a179f..7fa6889 100644
--- a/src/run.c
+++ b/src/run.c
@@ -40,14 +40,14 @@
#include <time.h>
#include <fcntl.h>
-void killer(int signal)
+void killer(int signo)
/* Signals are re-entrant, disable signal handling to avoid problems
* in case we receive SIGINT and SIGTERM in a row. This function is
* also called via -k from the unix socket context, we already disabled
* signals in that path, so don't do it.
- if (signal)
+ if (signo)
sigprocmask(SIG_BLOCK, &STATE(block), NULL);