diff options
author | graichen <graichen@FreeBSD.org> | 1996-01-09 08:40:08 +0000 |
---|---|---|
committer | graichen <graichen@FreeBSD.org> | 1996-01-09 08:40:08 +0000 |
commit | cc0f623ba56c68c7ef13a714ce3042f2cebc2a4e (patch) | |
tree | 27b92996e17ba4bb3158bbe3eb291644d4c140bb /usr.sbin/newsyslog/newsyslog.c | |
parent | 376af46ac8a4fa8d4230f684c66340a285128b34 (diff) | |
download | FreeBSD-src-cc0f623ba56c68c7ef13a714ce3042f2cebc2a4e.zip FreeBSD-src-cc0f623ba56c68c7ef13a714ce3042f2cebc2a4e.tar.gz |
Obtained from: NetBSD (PR#1906)
removed date formatting glitch in newsyslog
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.c')
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |