diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-16 13:49:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-16 13:52:21 +0200 |
commit | cb542e8488dce2d1bc3a659e994580f1e0765f11 (patch) | |
tree | 7876c1475daf6b9f41062e22132ac26aa8dc2834 | |
parent | eb276e98419af59d4a587f2dd37e0b923e4c6fd2 (diff) | |
download | systemd-cb542e8488dce2d1bc3a659e994580f1e0765f11.tar.gz |
udev: (void)ify calls to kill() where we knowingly ignore the return values
CID 1368231
CID 1368229
-rw-r--r-- | src/udev/udevd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index ea1476e7dd..4f77243c15 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -555,7 +555,7 @@ static void event_run(Manager *manager, struct event *event) { if (count < 0) { log_error_errno(errno, "worker ["PID_FMT"] did not accept message %zi (%m), kill it", worker->pid, count); - kill(worker->pid, SIGKILL); + (void) kill(worker->pid, SIGKILL); worker->state = WORKER_KILLED; continue; } @@ -629,7 +629,7 @@ static void manager_kill_workers(Manager *manager) { continue; worker->state = WORKER_KILLED; - kill(worker->pid, SIGTERM); + (void) kill(worker->pid, SIGTERM); } } |