From 6a765fdc15d78c6d857006df6ceb1dc781d05976 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 24 Jan 2007 22:54:08 +0000 Subject: [PATCH] Use base "0" in strtoul for consistency with "mem=" --- src/arch/i386/image/bzimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/i386/image/bzimage.c b/src/arch/i386/image/bzimage.c index fe640ee8..41262e19 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 );