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 | |
parent | 9db296fdddee5645567ad0c0edff37481361b91b (diff) | |
download | systemd-babdf0d3153838187d0760fa676a7ce4e5badd5e.tar.gz |
udevadm: assert_se() around sigprocmask()
CID #1395708
-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(); |