tree-wide: cast result of get_process_comm() to (void) where we ignore it
This commit is contained in:
@@ -146,7 +146,7 @@ int logind_check_inhibitors(enum action a) {
|
||||
ACTION_KEXEC) ? "shutdown" : "sleep"))
|
||||
continue;
|
||||
|
||||
get_process_comm(pid, &comm);
|
||||
(void) get_process_comm(pid, &comm);
|
||||
user = uid_to_name(uid);
|
||||
|
||||
log_warning("Operation inhibited by \"%s\" (PID "PID_FMT" \"%s\", user %s), reason is \"%s\".",
|
||||
|
||||
Reference in New Issue
Block a user