diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-12 18:52:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-13 12:37:13 +0200 |
commit | babdf0d3153838187d0760fa676a7ce4e5badd5e (patch) | |
tree | 3e61cc69325ad3294040e5561e8eea132490bd0d /src/udev/udevadm-test.c | |
parent | efivars: add missing OOM check (diff) | |
download | systemd-babdf0d3153838187d0760fa676a7ce4e5badd5e.tar.xz systemd-babdf0d3153838187d0760fa676a7ce4e5badd5e.zip |
udevadm: assert_se() around sigprocmask()
CID #1395708
Diffstat (limited to '')
-rw-r--r-- | src/udev/udevadm-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-test.c b/src/udev/udevadm-test.c index 89d51c7775..d2868d114c 100644 --- a/src/udev/udevadm-test.c +++ b/src/udev/udevadm-test.c @@ -105,7 +105,7 @@ int test_main(int argc, char *argv[], void *userdata) { "some values may be different, or not available at a simulation run.\n" "\n"); - sigprocmask(SIG_SETMASK, NULL, &sigmask_orig); + assert_se(sigprocmask(SIG_SETMASK, NULL, &sigmask_orig) >= 0); udev_builtin_init(); |