summaryrefslogtreecommitdiff
path: root/src/run.c
diff options
context:
space:
mode:
authorAlexander Wirt <formorer@debian.org>2014-09-19 10:15:14 +0200
committerAlexander Wirt <formorer@debian.org>2014-09-19 10:15:14 +0200
commitc31a7efc19b438188e96cab1ca34116a51f3e914 (patch)
tree38101c9c0d76567fe99608fe7c7c39e8070bd6e4 /src/run.c
parent45669cfafbb57da51e1c0beeec392c380c6cd2cf (diff)
parent9f760e5d3f6b44ecf5bb7144517e022fd987fa76 (diff)
downloadconntrack-tools-c31a7efc19b438188e96cab1ca34116a51f3e914.tar.gz
conntrack-tools-c31a7efc19b438188e96cab1ca34116a51f3e914.zip
Merge tag 'upstream/1.4.2'
Upstream version 1.4.2
Diffstat (limited to 'src/run.c')
-rw-r--r--src/run.c4
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);
local_server_destroy(&STATE(local));