diff --git a/ChangeLog b/ChangeLog index 691273fc6..b32de1b10 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-28 Colin Watson + + * normal/cmdline.c (grub_cmdline_get): Supply a format string as + the first argument to grub_printf. + 2009-08-28 Colin Watson 2009-08-28 Robert Millan diff --git a/normal/cmdline.c b/normal/cmdline.c index 56f892121..7a5b6ec84 100644 --- a/normal/cmdline.c +++ b/normal/cmdline.c @@ -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);