aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index f9d0d91a3fe4..e9deebe22eed 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -394,9 +394,9 @@ bool menu_is_visible(struct menu *menu)
394const char *menu_get_prompt(struct menu *menu) 394const char *menu_get_prompt(struct menu *menu)
395{ 395{
396 if (menu->prompt) 396 if (menu->prompt)
397 return _(menu->prompt->text); 397 return menu->prompt->text;
398 else if (menu->sym) 398 else if (menu->sym)
399 return _(menu->sym->name); 399 return menu->sym->name;
400 return NULL; 400 return NULL;
401} 401}
402 402