grub2/0408-util-grub-mkrescue-Fix-compilation.patch
Peter Jones 8c6b1ac71e Reconcile with upstream once again.
Also include some minor fixes for gcc 5.1.1

Signed-off-by: Peter Jones <pjones@redhat.com>
2015-07-22 09:46:32 -04:00

26 lines
734 B
Diff

From 2dcf260d899f65cd84e4f676e03d76f51ae01736 Mon Sep 17 00:00:00 2001
From: Vladimir Serbinenko <phcoder@gmail.com>
Date: Thu, 7 May 2015 19:45:06 +0200
Subject: [PATCH 408/506] util/grub-mkrescue: Fix compilation
---
util/grub-mkrescue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c
index 5a7993f..4511826 100644
--- a/util/grub-mkrescue.c
+++ b/util/grub-mkrescue.c
@@ -452,7 +452,7 @@ main (int argc, char *argv[])
for (i = 1; i < argc; i++)
{
if (strcmp (argv[i], "-output") == 0) {
- argp_argv[argp_argc++] = "--output";
+ argp_argv[argp_argc++] = (char *) "--output";
i++;
argp_argv[argp_argc++] = argv[i];
continue;
--
2.4.3