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