summaryrefslogtreecommitdiff
path: root/sys/stand/boot/cmd.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2000-01-12 19:50:26 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2000-01-12 19:50:26 +0000
commit7ae81f86534b09592f62ed5aa560ca911fb1f2fb (patch)
tree9c074a0125b08910e963846e5752806ef006f3a5 /sys/stand/boot/cmd.c
parent879f2aaab636d223a7060f424fdfa03a44f9ae6d (diff)
repair printf format strings in echo; espie@
Diffstat (limited to 'sys/stand/boot/cmd.c')
-rw-r--r--sys/stand/boot/cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c
index 687e0ede0ad..45adfca2be7 100644
--- a/sys/stand/boot/cmd.c
+++ b/sys/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.44 1999/04/20 02:20:12 mickey Exp $ */
+/* $OpenBSD: cmd.c,v 1.45 2000/01/12 19:50:25 mickey Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -334,7 +334,7 @@ Xecho()
{
register int i;
for (i = 1; i < cmd.argc; i++)
- printf(cmd.argv[i]), putchar(' ');
+ printf("%s ", cmd.argv[i]);
putchar('\n');
return 0;
}