Fix grub_strtoull
Hi,
this patch is extracted from my previous ia64 patches.
Tristan.
2006-09-28 Tristan Gingold <[email protected]>
* kern/misc.c (grub_strtoull): guess the base only if not specified.
kern/misc.c +1 -1
@@ -366,7 +386,7 @@/* Guess the base, if not specified. The prefix `0x' means 16, and the prefix `0' means 8. */ -if (str[0 ] =='0' ) +if (base ==0 && str[0 ] =='0' ) {if (str[1 ] =='x' ) {
Quoted 4 lines · [email protected] writes:
2006-09-28 Tristan Gingold <[email protected]>
*
kern/misc.c(grub_strtoull): guess the base only if not specified.
Committed.