Blame SOURCES/0121-Fix-grub_script_execute_sourcecode-usage-on-ppc.patch

a85e8e
From c9f932e3dc369211b6e5c2c64c3525a7d4cdd54a Mon Sep 17 00:00:00 2001
a85e8e
From: Peter Jones <pjones@redhat.com>
a85e8e
Date: Fri, 10 Jan 2014 09:36:24 -0500
a85e8e
Subject: [PATCH 121/260] Fix grub_script_execute_sourcecode() usage on ppc.
a85e8e
a85e8e
593e430c made it not take the extra argc/argv that this code still
a85e8e
passes it.
a85e8e
a85e8e
Signed-off-by: Peter Jones <pjones@redhat.com>
a85e8e
---
a85e8e
 grub-core/normal/main.c | 2 +-
a85e8e
 1 file changed, 1 insertion(+), 1 deletion(-)
a85e8e
a85e8e
diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
a85e8e
index 0da2a520d..f66c03c4c 100644
a85e8e
--- a/grub-core/normal/main.c
a85e8e
+++ b/grub-core/normal/main.c
a85e8e
@@ -289,7 +289,7 @@ grub_normal_execute (const char *config, int nested, int batch)
a85e8e
       if (! grub_ieee1275_cas_reboot (script))
a85e8e
         {
a85e8e
           char *dummy[1] = { NULL };
a85e8e
-          if (! grub_script_execute_sourcecode (script, 0, dummy))
a85e8e
+          if (! grub_script_execute_sourcecode (script))
a85e8e
             boot = 1;
a85e8e
         }
a85e8e
       grub_free (script);
a85e8e
-- 
a85e8e
2.13.0
a85e8e