]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
killall: (void)ify more things 10159/head
authorLennart Poettering <lennart@poettering.net>
Mon, 24 Sep 2018 17:05:23 +0000 (19:05 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 25 Sep 2018 10:50:35 +0000 (12:50 +0200)
src/core/killall.c

index 37c645538cbbb4c27630f3a73d5072d14ce09895..f0ce9965567303d08c75b824575be605d3a164de 100644 (file)
@@ -66,7 +66,7 @@ static bool ignore_proc(pid_t pid, bool warn_rootfs) {
 
                 _cleanup_free_ char *comm = NULL;
 
-                get_process_comm(pid, &comm);
+                (void) get_process_comm(pid, &comm);
 
                 log_notice("Process " PID_FMT " (%s) has been marked to be excluded from killing. It is "
                            "running from the root file system, and thus likely to block re-mounting of the "