Module Name: src
Committed By: joerg
Date: Sun Dec 1 02:54:53 UTC 2013
Modified Files:
src/sys/arch/zaurus/stand/zboot: unixcons.c
Log Message:
Use format string.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/zaurus/stand/zboot/unixcons.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/zaurus/stand/zboot/unixcons.c
diff -u src/sys/arch/zaurus/stand/zboot/unixcons.c:1.1 src/sys/arch/zaurus/stand/zboot/unixcons.c:1.2
--- src/sys/arch/zaurus/stand/zboot/unixcons.c:1.1 Mon Mar 2 09:33:02 2009
+++ src/sys/arch/zaurus/stand/zboot/unixcons.c Sun Dec 1 02:54:53 2013
@@ -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 <[email protected]>
@@ -175,7 +175,7 @@ awaitkey(int timeout, int tell)
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)