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.
This commit is contained in:
cjwatson 2009-08-28 13:25:10 +00:00
parent 4cbe67e509
commit a57da43f0d
2 changed files with 6 additions and 1 deletions

View file

@ -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>

View 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);