From 7fd43a33c5964fcf0f8de2efc9dbf27f8db25fc4 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Fri, 26 Aug 2016 16:44:17 +0200 Subject: ipcpd: Report pid on shutdown IPCPs will report their pid on shutdown for faster debugging. --- src/ipcpd/shim-eth-llc/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipcpd/shim-eth-llc') diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c index 60b55009..608b0029 100644 --- a/src/ipcpd/shim-eth-llc/main.c +++ b/src/ipcpd/shim-eth-llc/main.c @@ -830,8 +830,8 @@ void ipcp_sig_handler(int sig, siginfo_t * info, void * c) case SIGTERM: case SIGHUP: if (info->si_pid == irmd_api) { - LOG_DBG("Terminating by order of %d. Bye.", - info->si_pid); + LOG_DBG("IPCP %d terminating by order of %d. Bye.", + getpid(), info->si_pid); pthread_rwlock_wrlock(&_ipcp->state_lock); -- cgit v1.2.3