aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/udev/udevadm-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevadm-test.c b/src/udev/udevadm-test.c
index f08aee47c..54c525e02 100644
--- a/src/udev/udevadm-test.c
+++ b/src/udev/udevadm-test.c
@@ -127,8 +127,8 @@ int test_main(int argc, char *argv[], void *userdata) {
event = udev_event_new(dev, 0, NULL);
- sigfillset(&mask);
- sigprocmask(SIG_SETMASK, &mask, &sigmask_orig);
+ assert_se(sigfillset(&mask) >= 0);
+ assert_se(sigprocmask(SIG_SETMASK, &mask, &sigmask_orig) >= 0);
udev_event_execute_rules(event, 60 * USEC_PER_SEC, NULL, rules);