summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-07 07:36:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-07 07:36:12 +0000
commit0185f9dc45d0073247f004e4c691a8ef166b522c (patch)
tree0e1b014e98e5dc02427b5cafcb9fa3965b560825 /usr.bin
parent1ec9ac839c29d0c6d5074874a3da9edc709256cd (diff)
date formatting glitch; from kashmir@umiacs.UMD.EDU; netbsd pr#1906
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/newsyslog/newsyslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c
index 68824724b94..64f80af7891 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 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;