Date: Sun, 26 Apr 1998 07:08:14 -0700 (PDT) From: josh@quick.net To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/6421: last; add year to 'wtmp begins' Message-ID: <199804261408.HAA09167@newport-1-12.quick.net>
index | next in thread | raw e-mail
>Number: 6421
>Category: bin
>Synopsis: last; add year to 'wtmp begins'
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Apr 26 07:20:00 PDT 1998
>Last-Modified:
>Originator: Josh Gilliam
>Organization:
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
src/usr.bin/last/last.c 1.7
>Description:
last; add year to 'wtmp begins'
from NetBSD PR bin/5311 by Geoff Wing <gcw@pobox.com>
>How-To-Repeat:
>Fix:
Note: missing Id
--- last.c~ Fri Mar 28 20:30:22 1997
+++ last.c Sun Apr 26 06:41:34 1998
@@ -299,7 +299,7 @@
}
tm = localtime(&buf[0].ut_time);
(void) strftime(ct, sizeof(ct), "%c", tm);
- printf("\nwtmp begins %10.10s %5.5s \n", ct, ct + 11);
+ printf("\nwtmp begins %10.10s %5.5s %4.4s\n", ct, ct + 11, ct + 20);
}
/*
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804261408.HAA09167>
