From 4ebd61a3cf6ad2cadc490986b4c296f73f80cbfd Mon Sep 17 00:00:00 2001 From: Garance A Drosehn Date: Sun, 9 Mar 2003 00:29:40 +0000 Subject: [PATCH] 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 --- usr.sbin/newsyslog/newsyslog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index d0d255c7be41..643536bf4065 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); } /*