X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fconf.c;h=ceafacb0e98dc6103a94265583a63562922d97dc;hb=d3bea25f5238e5abfe6d061c1e6840e354d27bf8;hp=8b5fdf57921572c93f950d65af93b147fd3a87e3;hpb=1cfdda61ec3a7dca2bbebbfe3ef307817c6c5127;p=carl9170fw.git diff --git a/config/conf.c b/config/conf.c index 8b5fdf5..ceafacb 100644 --- a/config/conf.c +++ b/config/conf.c @@ -516,6 +516,7 @@ int main(int ac, char **av) seed = tmp; } } + fprintf( stderr, "KCONFIG_SEED=0x%X\n", seed ); srand(seed); break; } @@ -614,7 +615,8 @@ int main(int ac, char **av) conf_set_all_new_symbols(def_default); break; case randconfig: - conf_set_all_new_symbols(def_random); + /* Really nothing to do in this loop */ + while (conf_set_all_new_symbols(def_random)) ; break; case defconfig: conf_set_all_new_symbols(def_default); @@ -642,7 +644,7 @@ int main(int ac, char **av) if (input_mode == savedefconfig) { if (conf_write_defconfig(defconfig_file)) { fprintf(stderr, _("n*** Error while saving defconfig to: %s\n\n"), - defconfig_file); + defconfig_file); return 1; } } else if (input_mode != listnewconfig) {