Revision: 2541
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2541
Author:   cjwatson
Date:     2009-08-28 13:25:10 +0000 (Fri, 28 Aug 2009)
Log Message:
-----------
2009-08-28  Colin Watson  <[email protected]>

        * normal/cmdline.c (grub_cmdline_get): Supply a format string as
        the first argument to grub_printf.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/normal/cmdline.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog       2009-08-28 13:22:28 UTC (rev 2540)
+++ trunk/grub2/ChangeLog       2009-08-28 13:25:10 UTC (rev 2541)
@@ -1,4 +1,9 @@
 2009-08-28  Colin Watson  <[email protected]>
+
+       * normal/cmdline.c (grub_cmdline_get): Supply a format string as
+       the first argument to grub_printf.
+
+2009-08-28  Colin Watson  <[email protected]>
 2009-08-28  Robert Millan  <[email protected]>
 
        Add `getkeystatus' terminal method.  Add a new `keystatus' command

Modified: trunk/grub2/normal/cmdline.c
===================================================================
--- trunk/grub2/normal/cmdline.c        2009-08-28 13:22:28 UTC (rev 2540)
+++ trunk/grub2/normal/cmdline.c        2009-08-28 13:25:10 UTC (rev 2541)
@@ -273,7 +273,7 @@
   if ((grub_getxy () >> 8) != 0)
     grub_putchar ('\n');
 
-  grub_printf (prompt);
+  grub_printf ("%s", prompt);
 
   xpos = plen;
   ystart = ypos = (grub_getxy () & 0xFF);



Reply via email to