summaryrefslogtreecommitdiff
path: root/src/manager.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-10 15:42:24 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-10 15:42:24 +0200
commit582a507f1abdca75abe34945b4bbd5e97e9b45a8 (patch)
tree00f903fda9ba826565bd37712ed9a03eb884dea7 /src/manager.c
parentb827a9f97dcc88f4b9e23d656d7325455eb33848 (diff)
systemctl: show exec status of all exited programs
Diffstat (limited to 'src/manager.c')
-rw-r--r--src/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c
index bd4f4659af..524d125bdc 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -1748,7 +1748,7 @@ static int manager_dispatch_sigchld(Manager *m) {
(long unsigned) si.si_pid,
sigchld_code_to_string(si.si_code),
si.si_status,
- strna(si.si_code == CLD_EXITED ? exit_status_to_string(si.si_status) : strsignal(si.si_status)));
+ strna(si.si_code == CLD_EXITED ? exit_status_to_string(si.si_status) : signal_to_string(si.si_status)));
if (!u)
continue;