summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/basic/signal-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/signal-util.c b/src/basic/signal-util.c
index d24730d439..90abe8af81 100644
--- a/src/basic/signal-util.c
+++ b/src/basic/signal-util.c
@@ -167,7 +167,7 @@ int sigprocmask_many(int how, sigset_t *old, ...) {
if (sigemptyset(&ss) < 0)
return -errno;
- va_start(ap, how);
+ va_start(ap, old);
r = sigset_add_many_ap(&ss, ap);
va_end(ap);