From: Yu Watanabe Date: Wed, 2 Apr 2025 04:20:40 +0000 (+0900) Subject: udev-spawn: voidify pidref_kill_and_sigcont() X-Git-Tag: v258-rc1~964 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=624e14d271d19f503c472a1addcceb3cc4e242a7;p=thirdparty%2Fsystemd.git udev-spawn: voidify pidref_kill_and_sigcont() Follow-up for cdd2dd2d58f34d32ee3957aa05860a513909d400. Fixes CID#1596076. --- diff --git a/src/udev/udev-spawn.c b/src/udev/udev-spawn.c index 9a0e242a81b..9bd6847ef45 100644 --- a/src/udev/udev-spawn.c +++ b/src/udev/udev-spawn.c @@ -112,7 +112,7 @@ static int on_spawn_timeout(sd_event_source *s, uint64_t usec, void *userdata) { spawn->cmd, spawn->pidref.pid, FORMAT_TIMESPAN(spawn->timeout_usec, USEC_PER_SEC)); - pidref_kill_and_sigcont(&spawn->pidref, spawn->timeout_signal); + (void) pidref_kill_and_sigcont(&spawn->pidref, spawn->timeout_signal); return 1; }