From fc1f6c1d76677a4e8d2c39e5fa7be3716841930e Mon Sep 17 00:00:00 2001 From: wollman Date: Mon, 7 Aug 1995 19:17:46 +0000 Subject: Delete bogus referneces to timezone code internal header file `tzfile.h', which is no longer bogusly installed in /usr/include. --- usr.bin/last/last.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin/last/last.c') diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index 662a663..1d18600 100644 --- a/usr.bin/last/last.c +++ b/usr.bin/last/last.c @@ -52,7 +52,6 @@ static char sccsid[] = "@(#)last.c 8.2 (Berkeley) 4/2/94"; #include #include #include -#include #include #include @@ -248,12 +247,12 @@ wtmp() printf("- %5.5s", ctime(&T->logout)+11); delta = T->logout - bp->ut_time; - if (delta < SECSPERDAY) + if (delta < 86400) printf(" (%5.5s)\n", asctime(gmtime(&delta))+11); else printf(" (%ld+%5.5s)\n", - delta / SECSPERDAY, + delta / 86400, asctime(gmtime(&delta))+11); } if (maxrec != -1 && !--maxrec) -- cgit v1.1