From cc0f623ba56c68c7ef13a714ce3042f2cebc2a4e Mon Sep 17 00:00:00 2001 From: graichen Date: Tue, 9 Jan 1996 08:40:08 +0000 Subject: Obtained from: NetBSD (PR#1906) removed date formatting glitch in newsyslog --- usr.sbin/newsyslog/newsyslog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/newsyslog') diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index ba21b6e..90af6fd 100644 --- a/usr.sbin/newsyslog/newsyslog.c +++ b/usr.sbin/newsyslog/newsyslog.c @@ -24,12 +24,12 @@ provided "as is" without express or implied warranty. * newsyslog - roll over selected logs at the appropriate time, * keeping the a specified number of backup files around. * - * $Source: /a/cvsroot/src/usr.bin/newsyslog/newsyslog.c,v $ - * $Author: jtc $ + * $Source: /home/ncvs/src/usr.sbin/newsyslog/newsyslog.c,v $ + * $Author: graichen $ */ #ifndef lint -static char rcsid[] = "$Id: newsyslog.c,v 1.9 1995/01/21 21:53:46 jtc Exp $"; +static char rcsid[] = "$Id: newsyslog.c,v 1.1.1.1 1996/01/05 09:28:10 graichen Exp $"; #endif /* not lint */ #ifndef CONF @@ -180,7 +180,7 @@ PRS(argc,argv) progname = argv[0]; timenow = time((time_t *) 0); daytime = ctime(&timenow) + 4; - daytime[16] = '\0'; + daytime[15] = '\0'; /* Let's find the pid of syslogd */ syslog_pid = 0; -- cgit v1.1