From 8d862fd39dd85d855fc60f650831304101a11e53 Mon Sep 17 00:00:00 2001 From: Shreenidhi Shedi Date: Sat, 4 Jun 2022 15:56:45 +0530 Subject: [PATCH] machinectl: ignore return value of get_process_comm() Fixes: CID#1469720 --- src/machine/machinectl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 64233b89c00..22693dad0a7 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -533,7 +533,7 @@ static void print_machine_status_info(sd_bus *bus, MachineStatusInfo *i) { printf("\t Leader: %u", (unsigned) i->leader); - get_process_comm(i->leader, &t); + (void) get_process_comm(i->leader, &t); if (t) printf(" (%s)", t); -- 2.47.3