nfsd: Pull write-gathering code out of nfsd_vfs_write
[safe/jmp/linux-2.6] / scripts / kconfig / mconf.c
index 50e61c4..6841e95 100644 (file)
@@ -773,7 +773,7 @@ static void conf_string(struct menu *menu)
 
        while (1) {
                int res;
-               char *heading;
+               const char *heading;
 
                switch (sym_get_type(menu->sym)) {
                case S_INT:
@@ -821,6 +821,7 @@ static void conf_load(void)
                                return;
                        if (!conf_read(dialog_input_result)) {
                                set_config_filename(dialog_input_result);
+                               sym_set_change_count(1);
                                return;
                        }
                        show_textbox(NULL, _("File does not exist!"), 5, 38);
@@ -924,3 +925,4 @@ int main(int ac, char **av)
 
        return 0;
 }
+