1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

Merge pull request #223 from ronnychevalier/rc/warning_va_start

signal-util: fix incorrect argument of va_start
This commit is contained in:
David Herrmann 2015-06-16 13:04:41 +02:00
commit aab723074c

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