Skip to content

Commit

Permalink
kconfig/conf: accept a base-16 seed for randconfig
Browse files Browse the repository at this point in the history
Signed-off-by: "Yann E. MORIN" <[email protected]>
  • Loading branch information
yann-morin-1998 committed Jun 18, 2013
1 parent e6abf12 commit e85ac12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kconfig/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e85ac12

Please sign in to comment.