Browse Source

"vga=" is specified in decimal, not hex.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
99cb46943f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/image/bzimage.c

+ 1
- 1
src/arch/i386/image/bzimage.c View File

@@ -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, 16 );
110
+			exec_ctx->vid_mode = strtoul ( vga, &vga, 10 );
111 111
 			if ( *vga && ( *vga != ' ' ) ) {
112 112
 				DBGC ( image, "bzImage %p strange \"vga=\""
113 113
 				       "terminator '%c'\n", image, *vga );

Loading…
Cancel
Save