summaryrefslogtreecommitdiff
path: root/src/systemctl.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-10-07 21:06:39 +0200
committerLennart Poettering <lennart@poettering.net>2011-10-07 22:02:05 +0200
commit87d2c1ff6a7375f03476767e6f59454bcc5cd04b (patch)
tree26824a2485942702b3472cc73191c01e78c622d1 /src/systemctl.c
parent9a36607584bbd1d78775353e022a51794b4e27b1 (diff)
journal: add preliminary incomplete implementation
Diffstat (limited to 'src/systemctl.c')
-rw-r--r--src/systemctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl.c b/src/systemctl.c
index 0de2444d43..a423fdbf93 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -2182,7 +2182,7 @@ static void print_status_info(UnitStatusInfo *i) {
if (i->running) {
char *t = NULL;
- get_process_name(i->main_pid, &t);
+ get_process_comm(i->main_pid, &t);
if (t) {
printf(" (%s)", t);
free(t);
@@ -2216,7 +2216,7 @@ static void print_status_info(UnitStatusInfo *i) {
printf(" Control: %u", (unsigned) i->control_pid);
- get_process_name(i->control_pid, &t);
+ get_process_comm(i->control_pid, &t);
if (t) {
printf(" (%s)", t);
free(t);