|
@@ -107,7 +107,7 @@ static int bzimage_parse_cmdline ( struct image *image,
|
107
|
107
|
} else if ( strcmp ( vga, "ask" ) == 0 ) {
|
108
|
108
|
exec_ctx->vid_mode = BZI_VID_MODE_ASK;
|
109
|
109
|
} else {
|
110
|
|
- exec_ctx->vid_mode = strtoul ( vga, &vga, 10 );
|
|
110
|
+ exec_ctx->vid_mode = strtoul ( vga, &vga, 0 );
|
111
|
111
|
if ( *vga && ( *vga != ' ' ) ) {
|
112
|
112
|
DBGC ( image, "bzImage %p strange \"vga=\""
|
113
|
113
|
"terminator '%c'\n", image, *vga );
|