kconfig: fix return code for invalid boolean symbol in conf_set_sym_val()
Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
This commit is contained in:
parent
d8fc320079
commit
75f1468bea
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
conf_warning("symbol value '%s' invalid for %s", p, sym->name);
|
conf_warning("symbol value '%s' invalid for %s", p, sym->name);
|
||||||
break;
|
return 1;
|
||||||
case S_OTHER:
|
case S_OTHER:
|
||||||
if (*p != '"') {
|
if (*p != '"') {
|
||||||
for (p2 = p; *p2 && !isspace(*p2); p2++)
|
for (p2 = p; *p2 && !isspace(*p2); p2++)
|
||||||
|
|
Loading…
Reference in a new issue