Source-Changes-HG archive

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

[src/netbsd-1-4]: src/usr.bin/window Pull up revision 1.11 (requested by he):



details:   https://anonhg.NetBSD.org/src/rev/6da5dc7d3d48
branches:  netbsd-1-4
changeset: 471158:6da5dc7d3d48
user:      he <he%NetBSD.org@localhost>
date:      Thu Oct 19 20:45:06 2000 +0000

description:
Pull up revision 1.11 (requested by he):
  Fix format / arg mismatch.

diffstat:

 usr.bin/window/lcmd2.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9d45ba484bab -r 6da5dc7d3d48 usr.bin/window/lcmd2.c
--- a/usr.bin/window/lcmd2.c    Thu Oct 19 20:35:38 2000 +0000
+++ b/usr.bin/window/lcmd2.c    Thu Oct 19 20:45:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lcmd2.c,v 1.10 1998/10/14 00:58:47 wsanchez Exp $      */
+/*     $NetBSD: lcmd2.c,v 1.10.2.1 2000/10/19 20:45:06 he Exp $        */
 
 /*
  * Copyright (c) 1983, 1993
@@ -41,7 +41,7 @@
 #if 0
 static char sccsid[] = "@(#)lcmd2.c    8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: lcmd2.c,v 1.10 1998/10/14 00:58:47 wsanchez Exp $");
+__RCSID("$NetBSD: lcmd2.c,v 1.10.2.1 2000/10/19 20:45:06 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -178,7 +178,7 @@
                t->tv_sec %= 60;
                fill++;
        }
-       (void) sprintf(p, fill ? "%02ld.%02d" : "%ld.%02ld",
+       (void) sprintf(p, fill ? "%02ld.%02ld" : "%ld.%02ld",
                t->tv_sec, t->tv_usec / 10000);
        return buf;
 }



Home | Main Index | Thread Index | Old Index