diff options
| author | Michael Brown | 2007-01-24 23:54:08 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-24 23:54:08 +0100 |
| commit | 6a765fdc15d78c6d857006df6ceb1dc781d05976 (patch) | |
| tree | 122d4280c7ba8c12c8d546e5e2a35f36867acc8e | |
| parent | "vga=" is specified in decimal, not hex. (diff) | |
| download | ipxe-6a765fdc15d78c6d857006df6ceb1dc781d05976.tar.gz ipxe-6a765fdc15d78c6d857006df6ceb1dc781d05976.tar.xz ipxe-6a765fdc15d78c6d857006df6ceb1dc781d05976.zip | |
Use base "0" in strtoul for consistency with "mem="
| -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 fe640ee8e..41262e190 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, 10 ); + exec_ctx->vid_mode = strtoul ( vga, &vga, 0 ); if ( *vga && ( *vga != ' ' ) ) { DBGC ( image, "bzImage %p strange \"vga=\"" "terminator '%c'\n", image, *vga ); |
