diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-04-09 11:27:28 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-04-11 07:41:06 -0400 |
commit | b5ac4817de3032796c558b0a32062e7392b5ea60 (patch) | |
tree | a34053145044ed27438a6176233001baea1da254 /scripts/kconfig/confdata.c | |
parent | 94f2505be3b6afaf50129e949b1840bc4dd0b3e8 (diff) |
kconfig: fix typo in change count initialization
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>
Diffstat (limited to 'scripts/kconfig/confdata.c')
-rw-r--r-- | scripts/kconfig/confdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c index 1b8882ddbc74..1b5df589f3ae 100644 --- a/scripts/kconfig/confdata.c +++ b/scripts/kconfig/confdata.c | |||
@@ -325,7 +325,7 @@ int conf_read(const char *name) | |||
325 | sym->flags |= e->right.sym->flags & SYMBOL_NEW; | 325 | sym->flags |= e->right.sym->flags & SYMBOL_NEW; |
326 | } | 326 | } |
327 | 327 | ||
328 | sym_change_count = conf_warnings && conf_unsaved; | 328 | sym_change_count = conf_warnings || conf_unsaved; |
329 | 329 | ||
330 | return 0; | 330 | return 0; |
331 | } | 331 | } |