1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

signal-util: fix incorrect argument of va_start

The last argument of the function before the vargs is "old" not "how".

warning: second parameter of ‘va_start’ not last named argument
This commit is contained in:
Ronny Chevalier 2015-06-16 11:38:06 +02:00
parent 4fba57963b
commit c59d3e8d37

View File

@ -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);