]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-08-28 Colin Watson <cjwatson@ubuntu.com>
authorcjwatson <cjwatson@localhost>
Fri, 28 Aug 2009 13:25:10 +0000 (13:25 +0000)
committercjwatson <cjwatson@localhost>
Fri, 28 Aug 2009 13:25:10 +0000 (13:25 +0000)
* normal/cmdline.c (grub_cmdline_get): Supply a format string as
the first argument to grub_printf.

ChangeLog
normal/cmdline.c

index 691273fc6dce863287061a1f14acf6c1292adc9e..b32de1b1025283a1dc38b1ba0031c43a58b64fd7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-28  Colin Watson  <cjwatson@ubuntu.com>
+
+       * normal/cmdline.c (grub_cmdline_get): Supply a format string as
+       the first argument to grub_printf.
+
 2009-08-28  Colin Watson  <cjwatson@ubuntu.com>
 2009-08-28  Robert Millan  <rmh.grub@aybabtu.com>
 
index 56f892121fd76db1b54b3705be6309000a526cac..7a5b6ec84607246c5aeacfbf01bd4853675a0266 100644 (file)
@@ -273,7 +273,7 @@ grub_cmdline_get (const char *prompt, char cmdline[], unsigned max_len,
   if ((grub_getxy () >> 8) != 0)
     grub_putchar ('\n');
 
-  grub_printf (prompt);
+  grub_printf ("%s", prompt);
 
   xpos = plen;
   ystart = ypos = (grub_getxy () & 0xFF);