diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-10-07 21:06:39 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-10-07 22:02:05 +0200 |
commit | 87d2c1ff6a7375f03476767e6f59454bcc5cd04b (patch) | |
tree | 26824a2485942702b3472cc73191c01e78c622d1 /src/manager.c | |
parent | 9a36607584bbd1d78775353e022a51794b4e27b1 (diff) |
journal: add preliminary incomplete implementation
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager.c b/src/manager.c index e626347dec..ac5bbef1a8 100644 --- a/src/manager.c +++ b/src/manager.c @@ -2024,7 +2024,7 @@ static int manager_dispatch_sigchld(Manager *m) { if (si.si_code == CLD_EXITED || si.si_code == CLD_KILLED || si.si_code == CLD_DUMPED) { char *name = NULL; - get_process_name(si.si_pid, &name); + get_process_comm(si.si_pid, &name); log_debug("Got SIGCHLD for process %lu (%s)", (unsigned long) si.si_pid, strna(name)); free(name); } @@ -2109,7 +2109,7 @@ static int manager_process_signal_fd(Manager *m) { if (sfsi.ssi_pid > 0) { char *p = NULL; - get_process_name(sfsi.ssi_pid, &p); + get_process_comm(sfsi.ssi_pid, &p); log_debug("Received SIG%s from PID %lu (%s).", signal_to_string(sfsi.ssi_signo), |