diff options
author | 1996-01-07 07:36:11 +0000 | |
---|---|---|
committer | 1996-01-07 07:36:11 +0000 | |
commit | 81cfa09970e42c8c9df74cc31867a0e8854ecee9 (patch) | |
tree | 823d2fc36dcb069e184d92fde434c486227aed69 | |
parent | accept either ffs or ufs for filesystem name (diff) | |
download | wireguard-openbsd-81cfa09970e42c8c9df74cc31867a0e8854ecee9.tar.xz wireguard-openbsd-81cfa09970e42c8c9df74cc31867a0e8854ecee9.zip |
date formatting glitch; from kashmir@umiacs.UMD.EDU; netbsd pr#1906
-rw-r--r-- | usr.bin/newsyslog/newsyslog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c index e864a9daaed..88f063e9dbc 100644 --- a/usr.bin/newsyslog/newsyslog.c +++ b/usr.bin/newsyslog/newsyslog.c @@ -29,7 +29,7 @@ provided "as is" without express or implied warranty. */ #ifndef lint -static char rcsid[] = "$Id: newsyslog.c,v 1.1.1.1 1995/10/18 08:45:51 deraadt Exp $"; +static char rcsid[] = "$Id: newsyslog.c,v 1.2 1996/01/07 07:36:11 deraadt 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; |