diff options
| author | Michael Brown | 2007-01-23 00:56:24 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-23 00:56:24 +0100 |
| commit | 99cb46943fc7eb796f447f6496990f9a04bbb403 (patch) | |
| tree | a40d3648a1ac73640b17d8a0a8317a4948052f7d | |
| parent | Misread the definition of the type_of_loader field; it should include a (diff) | |
| download | ipxe-99cb46943fc7eb796f447f6496990f9a04bbb403.tar.gz ipxe-99cb46943fc7eb796f447f6496990f9a04bbb403.tar.xz ipxe-99cb46943fc7eb796f447f6496990f9a04bbb403.zip | |
"vga=" is specified in decimal, not hex.
| -rw-r--r-- | src/arch/i386/image/bzimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/image/bzimage.c b/src/arch/i386/image/bzimage.c index 5ca3aafd1..fe640ee8e 100644 --- a/src/arch/i386/image/bzimage.c +++ b/src/arch/i386/image/bzimage.c @@ -107,7 +107,7 @@ static int bzimage_parse_cmdline ( struct image *image, } else if ( strcmp ( vga, "ask" ) == 0 ) { exec_ctx->vid_mode = BZI_VID_MODE_ASK; } else { - exec_ctx->vid_mode = strtoul ( vga, &vga, 16 ); + exec_ctx->vid_mode = strtoul ( vga, &vga, 10 ); if ( *vga && ( *vga != ' ' ) ) { DBGC ( image, "bzImage %p strange \"vga=\"" "terminator '%c'\n", image, *vga ); |
