commit | e85ac12443da72d79dbf7c55c12e4b16b8923d87 | [log] [tgz] |
---|---|---|
author | Yann E. MORIN <yann.morin.1998@free.fr> | Mon May 20 23:17:34 2013 +0200 |
committer | Yann E. MORIN <yann.morin.1998@free.fr> | Tue Jun 18 23:59:00 2013 +0200 |
tree | b8eede7afc6dbe2fd414bf373305abcbff6bb648 | |
parent | e6abf12a77bc56dceeb4cba557b726268e71350e [diff] [blame] |
kconfig/conf: accept a base-16 seed for randconfig Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index bde5b95..94521c7 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c
@@ -527,7 +527,7 @@ 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; }