Browse Source

Use base "0" in strtoul for consistency with "mem="

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
6a765fdc15
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, 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 );

Loading…
Cancel
Save