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