summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ac
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-08-29 03:32:19 +0000
committerderaadt <deraadt@openbsd.org>1996-08-29 03:32:19 +0000
commit70cb125b1916d784758afa19373cd1dee2015565 (patch)
tree8ff2da4f9282574a50ecf84ab68d04ed474b6794 /usr.sbin/ac
parenttop level definition of CC and CPPFLAGS (diff)
downloadwireguard-openbsd-70cb125b1916d784758afa19373cd1dee2015565.tar.xz
wireguard-openbsd-70cb125b1916d784758afa19373cd1dee2015565.zip
fix warnings
Diffstat (limited to 'usr.sbin/ac')
-rw-r--r--usr.sbin/ac/ac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c
index 8c34962f641..96a14372d40 100644
--- a/usr.sbin/ac/ac.c
+++ b/usr.sbin/ac/ac.c
@@ -14,7 +14,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: ac.c,v 1.1.1.1 1995/10/18 08:47:09 deraadt Exp $";
+static char rcsid[] = "$Id: ac.c,v 1.2 1996/08/29 03:32:19 deraadt Exp $";
#endif
#include <sys/types.h>
@@ -460,7 +460,7 @@ ac(fp)
struct utmp_list *lp, *head = NULL;
struct utmp usr;
struct tm *ltm;
- time_t secs;
+ time_t secs = 0;
int day = -1;
while (fread((char *)&usr, sizeof(usr), 1, fp) == 1) {