diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/menu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index b9701010de8c..9e69f1934836 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c | |||
@@ -119,9 +119,10 @@ void menu_set_type(int type) | |||
119 | sym->type = type; | 119 | sym->type = type; |
120 | return; | 120 | return; |
121 | } | 121 | } |
122 | menu_warn(current_entry, "type of '%s' redefined from '%s' to '%s'", | 122 | menu_warn(current_entry, |
123 | sym->name ? sym->name : "<choice>", | 123 | "ignoring type redefinition of '%s' from '%s' to '%s'", |
124 | sym_type_name(sym->type), sym_type_name(type)); | 124 | sym->name ? sym->name : "<choice>", |
125 | sym_type_name(sym->type), sym_type_name(type)); | ||
125 | } | 126 | } |
126 | 127 | ||
127 | struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) | 128 | struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep) |