X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fconf.c;h=ceafacb0e98dc6103a94265583a63562922d97dc;hb=a966b9da5c8d29701f4e6df0914b1533838b9c6a;hp=893f031283114ef403c44ca2e9706d2ec551902e;hpb=e7bcd5ddb8a85f899faf07e4c0aed4c8818d7acb;p=carl9170fw.git diff --git a/config/conf.c b/config/conf.c index 893f031..ceafacb 100644 --- a/config/conf.c +++ b/config/conf.c @@ -615,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); @@ -643,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) {