=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/last/last.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- src/usr.bin/last/last.c 2003/11/09 20:13:57 1.29 +++ src/usr.bin/last/last.c 2004/01/08 13:36:52 1.30 @@ -1,4 +1,4 @@ -/* $OpenBSD: last.c,v 1.29 2003/11/09 20:13:57 otto Exp $ */ +/* $OpenBSD: last.c,v 1.30 2004/01/08 13:36:52 otto Exp $ */ /* $NetBSD: last.c,v 1.6 1994/12/24 16:49:02 cgd Exp $ */ /* @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)last.c 8.2 (Berkeley) 4/2/94"; #endif -static char rcsid[] = "$OpenBSD: last.c,v 1.29 2003/11/09 20:13:57 otto Exp $"; +static char rcsid[] = "$OpenBSD: last.c,v 1.30 2004/01/08 13:36:52 otto Exp $"; #endif /* not lint */ #include @@ -231,7 +231,7 @@ TTY *T; /* tty list entry */ struct stat stb; /* stat of file for size */ time_t delta; /* time difference */ - time_t total; + time_t total = 0; off_t bl; int timesize; /* how long time string gonna be */ int bytes, wfd;