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

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