From df7769d8dc91afa2da48b8d57aebaa339f52f82f Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 21 Sep 2010 19:03:11 +0100 Subject: [PATCH] * grub-core/normal/menu_entry.c (run): Make sure we always return a value. --- ChangeLog | 5 +++++ grub-core/normal/menu_entry.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ee71dff37..272264165 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-09-21 Colin Watson + + * grub-core/normal/menu_entry.c (run): Make sure we always return + a value. + 2010-09-21 Colin Watson * grub-core/commands/efi/lsefimmap.c (grub_cmd_lsefimmap): diff --git a/grub-core/normal/menu_entry.c b/grub-core/normal/menu_entry.c index 096600e09..6cadf81ba 100644 --- a/grub-core/normal/menu_entry.c +++ b/grub-core/normal/menu_entry.c @@ -1207,7 +1207,7 @@ run (struct screen *screen) grub_env_context_open (); menu = grub_zalloc (sizeof (*menu)); if (! menu) - return; + return 0; grub_env_set_menu (menu); }