FreeBSD Bugzilla – Attachment 147978 Details for
Bug 194143
[PATCH] newsyslog(8): better error reporting
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add filename to error message
newsyslog-diff (text/plain), 438 bytes, created by
lyndon
on 2014-10-04 18:55:55 UTC
(
hide
)
Description:
patch to add filename to error message
Filename:
MIME Type:
Creator:
lyndon
Created:
2014-10-04 18:55:55 UTC
Size:
438 bytes
patch
obsolete
>--- newsyslog.c 2014-09-20 13:08:13.000000000 -0700 >+++ /usr/src/usr.sbin/newsyslog/newsyslog.c 2014-09-20 12:08:20.000000000 -0700 >@@ -1967,7 +1967,9 @@ > */ > if (errno != ESRCH) > swork->sw_pidok = 0; >- warn("can't notify %s, pid %d", swork->sw_pidtype, >+ warn("%s: can't notify %s, pid %d", >+ swork->sw_fname ? swork->sw_fname : "<nofile>", >+ swork->sw_pidtype, > (int)swork->sw_pid); > } else { > if (verbose)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194143
: 147978 |
148083