]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* include/grub/test.h: Use gnu_printf rather than printf on GRUB
authorVladimir Serbinenko <phcoder@gmail.com>
Sun, 15 Dec 2013 13:39:21 +0000 (14:39 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Sun, 15 Dec 2013 13:39:21 +0000 (14:39 +0100)
functions.

ChangeLog
include/grub/test.h

index 84657594ee683a690d170d664d2a0d0d8ebcedad..0f791129376371dfb15312c60dae435010a04cfe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-15  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * include/grub/test.h: Use gnu_printf rather than printf on GRUB
+       functions.
+
 2013-12-15  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/loader/i386/linux.c: Use grub_addr_t rather than long when
index 84e3ccd62702036258bcd791060fb3cf994a1217..b83bdb14ee0bbcf35a35da340a64a71a1aea4ec3 100644 (file)
@@ -58,13 +58,13 @@ int grub_test_run (grub_test_t test);
 void grub_test_nonzero (int cond, const char *file,
                        const char *func, grub_uint32_t line,
                        const char *fmt, ...)
-  __attribute__ ((format (printf, 5, 6)));
+  __attribute__ ((format (GNU_PRINTF, 5, 6)));
 
 /* Macro to fill in location details and an optional error message.  */
 void grub_test_assert_helper (int cond, const char *file,
                             const char *func, grub_uint32_t line,
                             const char *condstr, const char *fmt, ...)
-  __attribute__ ((format (printf, 6, 7)));
+  __attribute__ ((format (GNU_PRINTF, 6, 7)));
 
 #define grub_test_assert(cond, ...)                            \
   grub_test_assert_helper(cond, GRUB_FILE, __FUNCTION__, __LINE__,     \