nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

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