summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 2a835ea..d9ddd82 100644
--- a/main.c
+++ b/main.c
@@ -308,7 +308,7 @@ main (argc, argv, envp)
#ifdef POSIX
sigemptyset (&fatal_signal_set);
-#define ADD_SIG(sig) sigaddset (sig, &fatal_signal_set)
+#define ADD_SIG(sig) sigaddset (&fatal_signal_set, sig)
#else
#ifndef USG
fatal_signal_mask = 0;