"kernel" => "busybox"
[oweals/busybox.git] / scripts / kconfig / conf.c
index 8012d1076876bb1f4ee9766a63720f0e53d9f829..ca722b05dce4b2b490412ca8d90de858bfb82b6d 100644 (file)
@@ -390,7 +390,7 @@ static int conf_choice(struct menu *menu)
                }
                if (!child)
                        continue;
-               if (line[strlen(line) - 1] == '?') {
+               if (strlen(line) > 0 && line[strlen(line) - 1] == '?') {
                        printf("\n%s\n", child->sym->help ?
                                child->sym->help : nohelp_text);
                        continue;
@@ -605,7 +605,7 @@ int main(int ac, char **av)
                check_conf(&rootmenu);
        } while (conf_cnt);
        if (conf_write(NULL)) {
-               fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n"));
+               fprintf(stderr, _("\n*** Error during writing of the busybox configuration.\n\n"));
                return 1;
        }
        return 0;