When warning that a log file can't be compressed, tell the reader which

log file it was.
This commit is contained in:
Josef Karthauser 2000-08-15 09:34:41 +00:00
parent ff4055bf24
commit 6b9a6e1f20
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64663

View File

@ -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 {