summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
diff options
context:
space:
mode:
authorgad <gad@FreeBSD.org>2003-03-09 00:29:40 +0000
committergad <gad@FreeBSD.org>2003-03-09 00:29:40 +0000
commitf9db095419821df338531839b2723722d812b0ec (patch)
treeb4a30cbaed64c934e5e8ce31edc9883eaebf3400 /usr.sbin/newsyslog
parent5e6a9573831e33c3aff26b70f14a89aff34b52e2 (diff)
downloadFreeBSD-src-f9db095419821df338531839b2723722d812b0ec.zip
FreeBSD-src-f9db095419821df338531839b2723722d812b0ec.tar.gz
The processing of files given on the command-line will work a little better
if we return the entire worklist, instead of just the last entry. A minor fix to revision 1.57. MFC after: 15 days
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 d0d255c..643536b 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -688,7 +688,7 @@ get_worklist(char **files)
}
free_entry(defconf);
- return (newlist);
+ return (firstnew);
}
/*
OpenPOWER on IntegriCloud