Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/zaurus/stand/zboot Use format string.



details:   https://anonhg.NetBSD.org/src/rev/f8e7a3e3e68c
branches:  trunk
changeset: 791778:f8e7a3e3e68c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Dec 01 02:54:53 2013 +0000

description:
Use format string.

diffstat:

 sys/arch/zaurus/stand/zboot/unixcons.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c4c7bc6f0074 -r f8e7a3e3e68c sys/arch/zaurus/stand/zboot/unixcons.c
--- a/sys/arch/zaurus/stand/zboot/unixcons.c    Sun Dec 01 02:54:33 2013 +0000
+++ b/sys/arch/zaurus/stand/zboot/unixcons.c    Sun Dec 01 02:54:53 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unixcons.c,v 1.1 2009/03/02 09:33:02 nonaka Exp $      */
+/*     $NetBSD: unixcons.c,v 1.2 2013/12/01 02:54:53 joerg Exp $       */
 
 /*
  * Copyright (c) 2009 NONAKA Kimihiro <nonaka%netbsd.org@localhost>
@@ -175,7 +175,7 @@
                        for (j = 0; j < len; j++)
                                numbuf[len + j] = '\b';
                        numbuf[len + j] = '\0';
-                       printf(numbuf);
+                       printf("%s", numbuf);
                }
                c = common_getc(infd, 1);
                if (c == 0)



Home | Main Index | Thread Index | Old Index