* grub-core/kern/emu/main.c: Build fix for emu.

This commit is contained in:
Vladimir Serbinenko committed 2013-12-21 18:09:19 +01:00
1 parent ca3e20886e
commit 96650a82ec
2 files changed
+8

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/main.c: Build fix for emu.
2013-12-21 Vladimir Serbinenko <phcoder@gmail.com>
Build fixes for argp.h with older gcc.
+4
View File
@@ -98,6 +98,8 @@ static struct argp_option options[] = {
{ 0, 0, 0, 0, 0, 0 }
};
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
static char *
help_filter (int key, const char *text, void *input __attribute__ ((unused)))
{
@@ -112,6 +114,8 @@ help_filter (int key, const char *text, void *input __attribute__ ((unused)))
}
}
#pragma GCC diagnostic error "-Wformat-nonliteral"
struct arguments
{
const char *dev_map;