diff options
author | markj <markj@FreeBSD.org> | 2014-10-23 18:50:44 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2014-10-23 18:50:44 +0000 |
commit | 8a1641d7862ee12fd3dd4c98e7057eacc0bfbdb6 (patch) | |
tree | 2320a81dfe1974b3d7b4ebed706d02b1ef31e380 /usr.sbin/newsyslog | |
parent | 5cd9154e6b001d9a51411bda3dee8ccb089a7a82 (diff) | |
download | FreeBSD-src-8a1641d7862ee12fd3dd4c98e7057eacc0bfbdb6.zip FreeBSD-src-8a1641d7862ee12fd3dd4c98e7057eacc0bfbdb6.tar.gz |
MFC r272763:
If we fail to send a signal after rotation, print the pidfile from which
the corresponding PID was obtained.
PR: 194143
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index ff9e937..b63234b 100644 --- a/usr.sbin/newsyslog/newsyslog.c +++ b/usr.sbin/newsyslog/newsyslog.c @@ -1968,8 +1968,8 @@ do_sigwork(struct sigwork_entry *swork) */ if (errno != ESRCH) swork->sw_pidok = 0; - warn("can't notify %s, pid %d", swork->sw_pidtype, - (int)swork->sw_pid); + warn("can't notify %s, pid %d = %s", swork->sw_pidtype, + (int)swork->sw_pid, swork->sw_fname); } else { if (verbose) printf("Notified %s pid %d = %s\n", swork->sw_pidtype, |