* grub-core/normal/menu_entry.c (run): Make sure we always return
a value.
This commit is contained in:
parent
b031012d70
commit
df7769d8dc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2010-09-21 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* grub-core/normal/menu_entry.c (run): Make sure we always return
|
||||||
|
a value.
|
||||||
|
|
||||||
2010-09-21 Colin Watson <cjwatson@ubuntu.com>
|
2010-09-21 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
* grub-core/commands/efi/lsefimmap.c (grub_cmd_lsefimmap):
|
* grub-core/commands/efi/lsefimmap.c (grub_cmd_lsefimmap):
|
||||||
|
|
|
@ -1207,7 +1207,7 @@ run (struct screen *screen)
|
||||||
grub_env_context_open ();
|
grub_env_context_open ();
|
||||||
menu = grub_zalloc (sizeof (*menu));
|
menu = grub_zalloc (sizeof (*menu));
|
||||||
if (! menu)
|
if (! menu)
|
||||||
return;
|
return 0;
|
||||||
grub_env_set_menu (menu);
|
grub_env_set_menu (menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue