diff options
author | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-08-26 16:44:17 +0200 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@intec.ugent.be> | 2016-08-26 16:44:17 +0200 |
commit | 7fd43a33c5964fcf0f8de2efc9dbf27f8db25fc4 (patch) | |
tree | d3a68ba74bd6cc5dc366649d6e29b15d697fc348 /src/ipcpd/normal/main.c | |
parent | db1fb77187fd9170c9a0a8089225b214053f3034 (diff) | |
download | ouroboros-7fd43a33c5964fcf0f8de2efc9dbf27f8db25fc4.tar.gz ouroboros-7fd43a33c5964fcf0f8de2efc9dbf27f8db25fc4.zip |
ipcpd: Report pid on shutdown
IPCPs will report their pid on shutdown for faster debugging.
Diffstat (limited to 'src/ipcpd/normal/main.c')
-rw-r--r-- | src/ipcpd/normal/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/normal/main.c b/src/ipcpd/normal/main.c index f0fc0681..335330ae 100644 --- a/src/ipcpd/normal/main.c +++ b/src/ipcpd/normal/main.c @@ -72,8 +72,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); |