mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-01 00:18:15 +01:00
Obtained from: NetBSD (PR#1906)
removed date formatting glitch in newsyslog
This commit is contained in:
parent
ce00153c1f
commit
c6bf200d31
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user