diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-07-10 17:37:11 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-07-10 17:37:11 +0000 |
commit | 4d119c7d5b34774b9983e794508fd6c693d0b52a (patch) | |
tree | ae63d5430ea4e802c472d2464a1b2940c1fe9005 /usr.bin/newsyslog | |
parent | 65bb8ed24c142d28c122df51e65e1bf7548e7014 (diff) |
NULL
Diffstat (limited to 'usr.bin/newsyslog')
-rw-r--r-- | usr.bin/newsyslog/newsyslog.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c index e4e9d61c8bf..dc7cd0f382b 100644 --- a/usr.bin/newsyslog/newsyslog.c +++ b/usr.bin/newsyslog/newsyslog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newsyslog.c,v 1.11 1997/07/08 04:26:00 downsj Exp $ */ +/* $OpenBSD: newsyslog.c,v 1.12 1997/07/10 17:37:10 kstailey Exp $ */ /* * Copyright (c) 1997, Jason Downs. All rights reserved. @@ -61,7 +61,7 @@ provided "as is" without express or implied warranty. */ #ifndef lint -static char rcsid[] = "$OpenBSD: newsyslog.c,v 1.11 1997/07/08 04:26:00 downsj Exp $"; +static char rcsid[] = "$OpenBSD: newsyslog.c,v 1.12 1997/07/10 17:37:10 kstailey Exp $"; #endif /* not lint */ #ifndef CONF @@ -226,7 +226,7 @@ void PRS(argc, argv) char line[BUFSIZ]; char *p; - timenow = time((time_t *) 0); + timenow = time(NULL); daytime = ctime(&timenow) + 4; daytime[15] = '\0'; @@ -399,7 +399,7 @@ struct conf_entry *parse_file() free(errline); } if (working) - working->next = (struct conf_entry *) NULL; + working->next = NULL; (void) fclose(f); return(first); } |