From: Andre Noll Date: Tue, 14 Nov 2017 02:39:30 +0000 (+0100) Subject: Add log message to send_signal(). X-Git-Tag: v1.0.0~13 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=e5a213c283a82befda5aad1af69d68c8c1437be3;p=dss.git Add log message to send_signal(). Sending a signal is a significant event which deserves a log message. --- diff --git a/dss.c b/dss.c index 57abf02..16ce826 100644 --- a/dss.c +++ b/dss.c @@ -295,6 +295,7 @@ static int send_signal(int sig) dss_msg("%d\n", (int)pid); return 0; } + DSS_NOTICE_LOG(("sending signal %d to pid %d\n", sig, (int)pid)); ret = kill(pid, sig); if (ret < 0) return -ERRNO_TO_DSS_ERROR(errno);