From: Yann E. MORIN Date: Mon, 20 May 2013 21:17:34 +0000 (+0200) Subject: kconfig/conf: accept a base-16 seed for randconfig X-Git-Tag: firefly_0821_release~176^2~5728^2~7 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e85ac12443da72d79dbf7c55c12e4b16b8923d87;p=firefly-linux-kernel-4.4.55.git kconfig/conf: accept a base-16 seed for randconfig Signed-off-by: "Yann E. MORIN" --- diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index bde5b95c8c19..94521c7712c3 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c @@ -527,7 +527,7 @@ int main(int ac, char **av) seed_env = getenv("KCONFIG_SEED"); if( seed_env && *seed_env ) { char *endp; - int tmp = (int)strtol(seed_env, &endp, 10); + int tmp = (int)strtol(seed_env, &endp, 0); if (*endp == '\0') { seed = tmp; }