mirror of
https://github.com/xcat2/xNBA.git
synced 2025-01-18 21:43:14 +00:00
Use base "0" in strtoul for consistency with "mem="
This commit is contained in:
parent
99cb46943f
commit
6a765fdc15
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user