Skip to content

Commit

Permalink
kconfig: fix return code for invalid boolean symbol in conf_set_sym_v…
Browse files Browse the repository at this point in the history
…al()

Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
  • Loading branch information
Arnaud Lacombe committed Jun 6, 2011
1 parent d8fc320 commit 75f1468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kconfig/confdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p)
break;
}
conf_warning("symbol value '%s' invalid for %s", p, sym->name);
break;
return 1;
case S_OTHER:
if (*p != '"') {
for (p2 = p; *p2 && !isspace(*p2); p2++)
Expand Down

0 comments on commit 75f1468

Please sign in to comment.