From: Lennart Poettering Date: Fri, 16 Nov 2018 20:46:49 +0000 (+0100) Subject: logind: voidify more things X-Git-Tag: v240~284^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10814%2Fhead;p=thirdparty%2Fsystemd.git logind: voidify more things --- diff --git a/src/login/logind-action.c b/src/login/logind-action.c index be5804bff1f..e4e6c901911 100644 --- a/src/login/logind-action.c +++ b/src/login/logind-action.c @@ -137,7 +137,7 @@ int manager_handle_action( manager_is_inhibited(m, inhibit_operation, INHIBIT_BLOCK, NULL, false, false, 0, &offending)) { _cleanup_free_ char *comm = NULL, *u = NULL; - get_process_comm(offending->pid, &comm); + (void) get_process_comm(offending->pid, &comm); u = uid_to_name(offending->uid); /* If this is just a recheck of the lid switch then don't warn about anything */