diff options
author | Arnaud Lacombe <lacombar@gmail.com> | 2010-08-18 01:57:13 -0400 |
---|---|---|
committer | Arnaud Lacombe <lacombar@gmail.com> | 2010-09-19 22:53:53 -0400 |
commit | 0954828fcbf3bd13d593499b16b901a4e801b0b9 (patch) | |
tree | c44e00f43b789c3fb5ab69c36d9ec408820dec21 /scripts/kconfig/nconf.c | |
parent | c55c9d571a3db7a096834b6c8a58d5a32dc807e6 (diff) |
kconfig: replace KERNELVERSION usage by the mainmenu's prompt
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/nconf.c')
-rw-r--r-- | scripts/kconfig/nconf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index 801cc048704a..545e1af7cb68 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
@@ -633,13 +633,9 @@ static char menu_backtitle[PATH_MAX+128]; | |||
633 | static const char *set_config_filename(const char *config_filename) | 633 | static const char *set_config_filename(const char *config_filename) |
634 | { | 634 | { |
635 | int size; | 635 | int size; |
636 | struct symbol *sym; | ||
637 | 636 | ||
638 | sym = sym_lookup("KERNELVERSION", 0); | ||
639 | sym_calc_value(sym); | ||
640 | size = snprintf(menu_backtitle, sizeof(menu_backtitle), | 637 | size = snprintf(menu_backtitle, sizeof(menu_backtitle), |
641 | _("%s - Linux Kernel v%s Configuration"), | 638 | "%s - %s", config_filename, rootmenu.prompt->text); |
642 | config_filename, sym_get_string_value(sym)); | ||
643 | if (size >= sizeof(menu_backtitle)) | 639 | if (size >= sizeof(menu_backtitle)) |
644 | menu_backtitle[sizeof(menu_backtitle)-1] = '\0'; | 640 | menu_backtitle[sizeof(menu_backtitle)-1] = '\0'; |
645 | 641 | ||