summaryrefslogtreecommitdiff
path: root/src/machine/machinectl.c
diff options
context:
space:
mode:
authorShreenidhi Shedi <sshedi@vmware.com>2022-06-04 15:56:45 +0530
committerShreenidhi Shedi <sshedi@vmware.com>2022-06-05 22:58:01 +0530
commit8d862fd39dd85d855fc60f650831304101a11e53 (patch)
treee652f6245998819e8e6b9a4d1b97c6ccedde808c /src/machine/machinectl.c
parenta30c9e71765015eab260cad2f1a1e92423e87e23 (diff)
downloadsystemd-8d862fd39dd85d855fc60f650831304101a11e53.tar.gz
machinectl: ignore return value of get_process_comm()
Fixes: CID#1469720
Diffstat (limited to 'src/machine/machinectl.c')
-rw-r--r--src/machine/machinectl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c
index 64233b89c0..22693dad0a 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);