summaryrefslogtreecommitdiffstats
path: root/src/udev/udevadm-monitor.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-02-23 15:03:49 +0100
committerVito Caputo <vcaputo@pengaru.com>2024-02-23 18:35:12 +0100
commitdb7136ec739fa48a7767d77b2b2cfa633267a62a (patch)
tree566499311fb00de9b1a2e43c94996f88576d8821 /src/udev/udevadm-monitor.c
parentsignal-util: use RET_NERRNO() + RET_GATHER() more (diff)
downloadsystemd-db7136ec739fa48a7767d77b2b2cfa633267a62a.tar.xz
systemd-db7136ec739fa48a7767d77b2b2cfa633267a62a.zip
signal-util: imply sentinel -1 in sigprocmask_many() + sigset_add_many() args list
Diffstat (limited to 'src/udev/udevadm-monitor.c')
-rw-r--r--src/udev/udevadm-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-monitor.c b/src/udev/udevadm-monitor.c
index 27c4853c4d..b1124df76a 100644
--- a/src/udev/udevadm-monitor.c
+++ b/src/udev/udevadm-monitor.c
@@ -208,7 +208,7 @@ int monitor_main(int argc, char *argv[], void *userdata) {
goto finalize;
}
- assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGTERM, SIGINT, -1) >= 0);
+ assert_se(sigprocmask_many(SIG_BLOCK, NULL, SIGTERM, SIGINT) >= 0);
(void) sd_event_add_signal(event, NULL, SIGTERM, NULL, NULL);
(void) sd_event_add_signal(event, NULL, SIGINT, NULL, NULL);