aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-05-15 12:28:43 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-05-15 12:28:43 +0000
commit17ce12487f0de438db677e2061e1800d156b45a2 (patch)
tree042f1b139811586aebb03ab7467681d96e56da5d /usr.bin
parent4bf15af17eba886c221c7885b008aeb2444d3cf6 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/last/last.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c
index 9c16bff57a1a..708a0866422d 100644
--- a/usr.bin/last/last.c
+++ b/usr.bin/last/last.c
@@ -75,7 +75,7 @@ ARG *arglist; /* head of linked list */
LIST_HEAD(ttylisthead, ttytab) ttylist;
struct ttytab {
- long logout; /* log out time */
+ time_t logout; /* log out time */
char tty[UT_LINESIZE + 1]; /* terminal name */
LIST_ENTRY(ttytab) list;
};
@@ -164,7 +164,8 @@ wtmp()
struct utmp *bp; /* current structure */
struct ttytab *tt, *ttx; /* ttylist entry */
struct stat stb; /* stat of file for size */
- long bl, delta; /* time difference */
+ long bl;
+ time_t delta; /* time difference */
int bytes, wfd;
char *crmsg;
char ct[80];