mirror of
https://github.com/ipxe/ipxe
synced 2025-12-13 15:31:42 +03:00
"vga=" is specified in decimal, not hex.
This commit is contained in:
@@ -107,7 +107,7 @@ static int bzimage_parse_cmdline ( struct image *image,
|
|||||||
} else if ( strcmp ( vga, "ask" ) == 0 ) {
|
} else if ( strcmp ( vga, "ask" ) == 0 ) {
|
||||||
exec_ctx->vid_mode = BZI_VID_MODE_ASK;
|
exec_ctx->vid_mode = BZI_VID_MODE_ASK;
|
||||||
} else {
|
} else {
|
||||||
exec_ctx->vid_mode = strtoul ( vga, &vga, 16 );
|
exec_ctx->vid_mode = strtoul ( vga, &vga, 10 );
|
||||||
if ( *vga && ( *vga != ' ' ) ) {
|
if ( *vga && ( *vga != ' ' ) ) {
|
||||||
DBGC ( image, "bzImage %p strange \"vga=\""
|
DBGC ( image, "bzImage %p strange \"vga=\""
|
||||||
"terminator '%c'\n", image, *vga );
|
"terminator '%c'\n", image, *vga );
|
||||||
|
|||||||
Reference in New Issue
Block a user