aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/mconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/mconf.c')
-rw-r--r--scripts/kconfig/mconf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 5c3d0c4b810f..17ba2227932d 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -316,8 +316,8 @@ static void search_conf(void)
316again: 316again:
317 dialog_clear(); 317 dialog_clear();
318 dres = dialog_inputbox(_("Search Configuration Parameter"), 318 dres = dialog_inputbox(_("Search Configuration Parameter"),
319 _("Enter CONFIG_ (sub)string to search for " 319 _("Enter " CONFIG_ " (sub)string to search for "
320 "(with or without \"CONFIG\")"), 320 "(with or without \"" CONFIG_ "\")"),
321 10, 75, ""); 321 10, 75, "");
322 switch (dres) { 322 switch (dres) {
323 case 0: 323 case 0:
@@ -329,10 +329,10 @@ again:
329 return; 329 return;
330 } 330 }
331 331
332 /* strip CONFIG_ if necessary */ 332 /* strip the prefix if necessary */
333 dialog_input = dialog_input_result; 333 dialog_input = dialog_input_result;
334 if (strncasecmp(dialog_input_result, "CONFIG_", 7) == 0) 334 if (strncasecmp(dialog_input_result, CONFIG_, strlen(CONFIG_)) == 0)
335 dialog_input += 7; 335 dialog_input += strlen(CONFIG_);
336 336
337 sym_arr = sym_re_search(dialog_input); 337 sym_arr = sym_re_search(dialog_input);
338 res = get_relations_str(sym_arr); 338 res = get_relations_str(sym_arr);