diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-12-31 00:59:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-12-31 00:59:37 +0100 |
commit | dc1ecd78e9f046880d10ddb45cf9b06df1084b10 (patch) | |
tree | 696491346a7fa69f8620a99cb7c0d2d87f2da7cf /src/systemctl.c | |
parent | 69b1c67463de64fb32ba75f586f0c9d2716f3e02 (diff) | |
parent | 74ef2d16ada74db3059d825ce8d24ea74946bf8f (diff) |
Merge branch 'journal'
Diffstat (limited to 'src/systemctl.c')
-rw-r--r-- | src/systemctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl.c b/src/systemctl.c index 2f11d6bc1d..1142200e42 100644 --- a/src/systemctl.c +++ b/src/systemctl.c @@ -2199,7 +2199,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); @@ -2233,7 +2233,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); |