diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-25 00:40:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-04-25 00:40:19 +0000 |
commit | 834914931717e38e7c2a30c1485f1c2834e70fec (patch) | |
tree | ce0a0d305c8ee2c12e42db0203e8648697741eec | |
parent | 0397475dceed1bbc11c572b9ec97d9a0142eedab (diff) |
print year; mason@primenet.com.au
-rw-r--r-- | usr.bin/last/last.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c index 0ed23c45142..742a9c3d864 100644 --- a/usr.bin/last/last.c +++ b/usr.bin/last/last.c @@ -1,4 +1,4 @@ -/* $OpenBSD: last.c,v 1.9 1998/03/10 00:50:40 downsj Exp $ */ +/* $OpenBSD: last.c,v 1.10 1998/04/25 00:40:18 deraadt Exp $ */ /* $NetBSD: last.c,v 1.6 1994/12/24 16:49:02 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)last.c 8.2 (Berkeley) 4/2/94"; #endif -static char rcsid[] = "$OpenBSD: last.c,v 1.9 1998/03/10 00:50:40 downsj Exp $"; +static char rcsid[] = "$OpenBSD: last.c,v 1.10 1998/04/25 00:40:18 deraadt Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -418,7 +418,8 @@ wtmp() asctime(gmtime(&total))+11); } ct = ctime(&buf[0].ut_time); - printf("\nwtmp begins %10.10s %*.*s \n", ct, timesize, timesize, ct + 11); + printf("\nwtmp begins %10.10s %*.*s %4.4s\n", ct, timesize, timesize, + ct + 11, ct + 20); } /* |