diff options
Diffstat (limited to 'scripts/kconfig/conf.c')
-rw-r--r-- | scripts/kconfig/conf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c index 9334da65f364..ded5ffe184b8 100644 --- a/scripts/kconfig/conf.c +++ b/scripts/kconfig/conf.c | |||
@@ -573,7 +573,7 @@ int main(int ac, char **av) | |||
573 | case set_random: | 573 | case set_random: |
574 | name = getenv("KCONFIG_ALLCONFIG"); | 574 | name = getenv("KCONFIG_ALLCONFIG"); |
575 | if (name && !stat(name, &tmpstat)) { | 575 | if (name && !stat(name, &tmpstat)) { |
576 | conf_read_simple(name); | 576 | conf_read_simple(name, S_DEF_USER); |
577 | break; | 577 | break; |
578 | } | 578 | } |
579 | switch (input_mode) { | 579 | switch (input_mode) { |
@@ -584,9 +584,9 @@ int main(int ac, char **av) | |||
584 | default: break; | 584 | default: break; |
585 | } | 585 | } |
586 | if (!stat(name, &tmpstat)) | 586 | if (!stat(name, &tmpstat)) |
587 | conf_read_simple(name); | 587 | conf_read_simple(name, S_DEF_USER); |
588 | else if (!stat("all.config", &tmpstat)) | 588 | else if (!stat("all.config", &tmpstat)) |
589 | conf_read_simple("all.config"); | 589 | conf_read_simple("all.config", S_DEF_USER); |
590 | break; | 590 | break; |
591 | default: | 591 | default: |
592 | break; | 592 | break; |