From c59d3e8d373fa15a29565e4995cfe5a6f38873ef Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Tue, 16 Jun 2015 11:38:06 +0200 Subject: signal-util: fix incorrect argument of va_start MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last argument of the function before the vargs is "old" not "how". warning: second parameter of ‘va_start’ not last named argument --- src/basic/signal-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-54-g00ecf