Revision: 2555
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2555
Author: cjwatson
Date: 2009-09-01 16:14:11 +0000 (Tue, 01 Sep 2009)
Log Message:
-----------
2009-09-01 Colin Watson <[email protected]>
* script/lua/grub_lua.h (fputs): Supply a format string as the first
argument to grub_printf.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/script/lua/grub_lua.h
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-09-01 16:13:29 UTC (rev 2554)
+++ trunk/grub2/ChangeLog 2009-09-01 16:14:11 UTC (rev 2555)
@@ -1,3 +1,8 @@
+2009-09-01 Colin Watson <[email protected]>
+
+ * script/lua/grub_lua.h (fputs): Supply a format string as the first
+ argument to grub_printf.
+
2009-09-01 Felix Zielcke <[email protected]>
* genmk.rb: Add quotes around $(TARGET_OBJ2ELF) to cope with
Modified: trunk/grub2/script/lua/grub_lua.h
===================================================================
--- trunk/grub2/script/lua/grub_lua.h 2009-09-01 16:13:29 UTC (rev 2554)
+++ trunk/grub2/script/lua/grub_lua.h 2009-09-01 16:14:11 UTC (rev 2555)
@@ -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