mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 13:51:46 +00:00
Ensure that grub_reboot doesn't return on emu.
Use grub_fatal if longjmp fails. grub_reboot is marked as noreturn so return would cause a crash.
This commit is contained in:
parent
bec592aa87
commit
43dbf83aa2
@ -63,6 +63,7 @@ void
|
||||
grub_reboot (void)
|
||||
{
|
||||
longjmp (main_env, 1);
|
||||
grub_fatal ("longjmp failed");
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user