]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-09-01 Colin Watson <cjwatson@ubuntu.com>
authorcjwatson <cjwatson@localhost>
Tue, 1 Sep 2009 16:14:11 +0000 (16:14 +0000)
committercjwatson <cjwatson@localhost>
Tue, 1 Sep 2009 16:14:11 +0000 (16:14 +0000)
* script/lua/grub_lua.h (fputs): Supply a format string as the first
argument to grub_printf.

ChangeLog
script/lua/grub_lua.h

index 15d059f92d2a914068d9b205b06f174c0050a4a3..1893f9ee8a2f467501f798471d50faeb5c16125a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-01  Colin Watson  <cjwatson@ubuntu.com>
+
+       * script/lua/grub_lua.h (fputs): Supply a format string as the first
+       argument to grub_printf.
+
 2009-09-01  Felix Zielcke  <fzielcke@z-51.de>
 
        * genmk.rb: Add quotes around $(TARGET_OBJ2ELF) to cope with
index d5181f147d747bb0a4d628afdebd4b1f152ed0bc..78e6546c72227f8512a9b3509eeceda779bef482 100644 (file)
@@ -58,7 +58,7 @@
 #define setjmp         grub_setjmp
 #define longjmp                grub_longjmp
 
-#define fputs(s,f)     grub_printf(s)
+#define fputs(s,f)     grub_printf("%s", s)
 
 #define isdigit                grub_isdigit
 #define isalpha                grub_isalpha