summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1999-11-06 20:46:31 +0000
committermillert <millert@openbsd.org>1999-11-06 20:46:31 +0000
commit6c0dbaf924a7878b06c15e958d3325c8e8f6c20f (patch)
tree8d7a3f5d92e2204f0182f4b176639549268ceadb
parentUse fchmod instead of chmod and open() instead of creat(). (diff)
downloadwireguard-openbsd-6c0dbaf924a7878b06c15e958d3325c8e8f6c20f.tar.xz
wireguard-openbsd-6c0dbaf924a7878b06c15e958d3325c8e8f6c20f.zip
back out unwanted private change
-rw-r--r--usr.bin/newsyslog/newsyslog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c
index ea102d1b22c..5589a709b06 100644
--- a/usr.bin/newsyslog/newsyslog.c
+++ b/usr.bin/newsyslog/newsyslog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newsyslog.c,v 1.22 1999/11/06 20:45:26 millert Exp $ */
+/* $OpenBSD: newsyslog.c,v 1.23 1999/11/06 20:46:31 millert Exp $ */
/*
* Copyright (c) 1997, Jason Downs. All rights reserved.
@@ -61,7 +61,7 @@ provided "as is" without express or implied warranty.
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: newsyslog.c,v 1.22 1999/11/06 20:45:26 millert Exp $";
+static char rcsid[] = "$OpenBSD: newsyslog.c,v 1.23 1999/11/06 20:46:31 millert Exp $";
#endif /* not lint */
#ifndef CONF
@@ -198,7 +198,7 @@ void do_entry(ent)
(ent->flags & CE_COMPACT) ? "Z" : "");
size = sizefile(ent->log);
if (age_old_log(ent->log, &modtime) == -1)
- modtime = -1;
+ modtime = 0;
if (size < 0) {
if (verbose)
printf("does not exist.\n");