mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +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:
commit
aab723074c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user