From owner-freebsd-bugs Sun Apr 26 07:26:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA04077 for freebsd-bugs-outgoing; Sun, 26 Apr 1998 07:24:02 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA03716; Sun, 26 Apr 1998 07:20:01 -0700 (PDT) (envelope-from gnats) Received: from newport-1-12.quick.net (josh@newport-1-12.quick.net [207.212.160.212]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA02675 for ; Sun, 26 Apr 1998 07:08:17 -0700 (PDT) (envelope-from josh@newport-1-12.quick.net) Received: (from josh@localhost) by newport-1-12.quick.net (8.8.8/8.8.8) id HAA09167; Sun, 26 Apr 1998 07:08:14 -0700 (PDT) (envelope-from josh) Message-Id: <199804261408.HAA09167@newport-1-12.quick.net> Date: Sun, 26 Apr 1998 07:08:14 -0700 (PDT) From: josh@quick.net Reply-To: josh@quick.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/6421: last; add year to 'wtmp begins' Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 >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