Searched hist:aa46a63efc896f0a6d54e7614e750788793582e5 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/lib/ |
H A D | vsprintf.c | diff aa46a63efc896f0a6d54e7614e750788793582e5 Thu Oct 16 15:40:34 CDT 2008 Harvey Harrison <harvey.harrison@gmail.com> lib: pull base-guessing logic to helper function
The default base is 10 unless there is a leading zero, in which case the base will be guessed as 8.
The base will only be guesed as 16 when the string starts with '0x' the third character is a valid hex digit.
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|