svn commit: r273553 - stable/9/usr.sbin/newsyslog
Mark Johnston
markj at FreeBSD.org
Thu Oct 23 18:48:44 UTC 2014
Author: markj
Date: Thu Oct 23 18:48:43 2014
New Revision: 273553
URL: https://svnweb.freebsd.org/changeset/base/273553
Log:
MFC 272763:
If we fail to send a signal after rotation, print the pidfile from which
the corresponding PID was obtained.
PR: 194143
Modified:
stable/9/usr.sbin/newsyslog/newsyslog.c
Directory Properties:
stable/9/usr.sbin/newsyslog/ (props changed)
Modified: stable/9/usr.sbin/newsyslog/newsyslog.c
==============================================================================
--- stable/9/usr.sbin/newsyslog/newsyslog.c Thu Oct 23 18:23:50 2014 (r273552)
+++ stable/9/usr.sbin/newsyslog/newsyslog.c Thu Oct 23 18:48:43 2014 (r273553)
@@ -1966,8 +1966,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,
More information about the svn-src-stable-9
mailing list