Skip to content

Commit

Permalink
kconfig: fix typo in change count initialization
Browse files Browse the repository at this point in the history
Configuration needs saving when either of these conditions is true.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Roman Zippel authored and Sam Ravnborg committed Apr 11, 2006
1 parent 94f2505 commit b5ac481
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 @@ -325,7 +325,7 @@ int conf_read(const char *name)
sym->flags |= e->right.sym->flags & SYMBOL_NEW;
}

sym_change_count = conf_warnings && conf_unsaved;
sym_change_count = conf_warnings || conf_unsaved;

return 0;
}
Expand Down

0 comments on commit b5ac481

Please sign in to comment.