* loader/i386/multiboot_mbi.c (grub_multiboot_load): Correctly report
unsupported video mode types.
This commit is contained in:
parent
2622c3ffb0
commit
974ac4f755
2 changed files with 10 additions and 0 deletions
|
@ -170,6 +170,11 @@ grub_multiboot_load (grub_file_t file)
|
|||
header->width, header->height,
|
||||
header->depth, 0);
|
||||
break;
|
||||
default:
|
||||
err = grub_error (GRUB_ERR_BAD_OS,
|
||||
"unsupported graphical mode type %d",
|
||||
header->mode_type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue