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