summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2007-01-23 00:56:24 +0100
committerMichael Brown2007-01-23 00:56:24 +0100
commit99cb46943fc7eb796f447f6496990f9a04bbb403 (patch)
treea40d3648a1ac73640b17d8a0a8317a4948052f7d /src
parentMisread the definition of the type_of_loader field; it should include a (diff)
downloadipxe-99cb46943fc7eb796f447f6496990f9a04bbb403.tar.gz
ipxe-99cb46943fc7eb796f447f6496990f9a04bbb403.tar.xz
ipxe-99cb46943fc7eb796f447f6496990f9a04bbb403.zip
"vga=" is specified in decimal, not hex.
Diffstat (limited to 'src')
-rw-r--r--src/arch/i386/image/bzimage.c2
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 );