summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2000-08-15 09:34:41 +0000
committerjoe <joe@FreeBSD.org>2000-08-15 09:34:41 +0000
commit2be7b9be57e2292a0500871746420dd9d218f2bf (patch)
treedf4d8cc8c4cd63fdd2d06f8c0798e2735009569f /usr.sbin/newsyslog
parent8946b5171aed85a1ed457ceb7a4aa013fd6cdd43 (diff)
downloadFreeBSD-src-2be7b9be57e2292a0500871746420dd9d218f2bf.zip
FreeBSD-src-2be7b9be57e2292a0500871746420dd9d218f2bf.tar.gz
When warning that a log file can't be compressed, tell the reader which
log file it was.
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r--usr.sbin/newsyslog/newsyslog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index 34dbc87..fb60d17 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -623,7 +623,7 @@ dotrim(char *log, char *pid_file, int numdays, int flags, int perm,
}
if ((flags & CE_COMPACT)) {
if (need_notification && !notified)
- warnx("log not compressed because daemon not notified");
+ warnx("log %s not compressed because daemon not notified", log);
else if (noaction)
printf("Compress %s.0\n", log);
else {
OpenPOWER on IntegriCloud