Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.bin/last Pull up rev 1.15:



details:   https://anonhg.NetBSD.org/src/rev/3874684c56f3
branches:  netbsd-1-5
changeset: 488338:3874684c56f3
user:      simonb <simonb%NetBSD.org@localhost>
date:      Fri Jun 30 13:58:16 2000 +0000

description:
Pull up rev 1.15:
Fix mistake in previous - include the day of the month in the output.

diffstat:

 usr.bin/last/last.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 9e27610dba19 -r 3874684c56f3 usr.bin/last/last.c
--- a/usr.bin/last/last.c       Fri Jun 30 00:01:25 2000 +0000
+++ b/usr.bin/last/last.c       Fri Jun 30 13:58:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: last.c,v 1.13.4.1 2000/06/26 00:48:38 simonb Exp $     */
+/*     $NetBSD: last.c,v 1.13.4.2 2000/06/30 13:58:16 simonb Exp $     */
 
 /*
  * Copyright (c) 1987, 1993, 1994
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)last.c     8.2 (Berkeley) 4/2/94";
 #endif
-__RCSID("$NetBSD: last.c,v 1.13.4.1 2000/06/26 00:48:38 simonb Exp $");
+__RCSID("$NetBSD: last.c,v 1.13.4.2 2000/06/30 13:58:16 simonb Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -66,8 +66,8 @@
 #define        YES     1                       /* true/yes */
 
 #define        TBUFLEN 30                      /* length of time string buffer */
-#define        TFMT    "%a %b %R"              /* strftime format string */
-#define        LTFMT   "%a %b %Y %T"           /* strftime long format string */
+#define        TFMT    "%a %b %d %R"           /* strftime format string */
+#define        LTFMT   "%a %b %d %Y %T"        /* strftime long format string */
 #define        TFMTS   "%R"                    /* strftime format string - time only */
 #define        LTFMTS  "%T"                    /* strftime long format string - " */
 



Home | Main Index | Thread Index | Old Index