* 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
|
@ -1,3 +1,8 @@
|
|||
2010-04-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* loader/i386/multiboot_mbi.c (grub_multiboot_load): Correctly report
|
||||
unsupported video mode types.
|
||||
|
||||
2010-04-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* kern/i386/pc/startup.S (grub_getrtsecs): Removed (dead code).
|
||||
|
|
|
@ -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…
Reference in a new issue