diff options
author | Shreenidhi Shedi <sshedi@vmware.com> | 2022-06-04 15:56:45 +0530 |
---|---|---|
committer | Shreenidhi Shedi <sshedi@vmware.com> | 2022-06-05 22:58:01 +0530 |
commit | 8d862fd39dd85d855fc60f650831304101a11e53 (patch) | |
tree | e652f6245998819e8e6b9a4d1b97c6ccedde808c /src/machine/machinectl.c | |
parent | a30c9e71765015eab260cad2f1a1e92423e87e23 (diff) | |
download | systemd-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.c | 2 |
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); |