]> Git Repo - linux.git/commitdiff
kconfig: fix typo in change count initialization
authorRoman Zippel <[email protected]>
Sun, 9 Apr 2006 15:27:28 +0000 (17:27 +0200)
committerSam Ravnborg <[email protected]>
Tue, 11 Apr 2006 11:41:06 +0000 (13:41 +0200)
Configuration needs saving when either of these conditions is true.

Signed-off-by: Roman Zippel <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
scripts/kconfig/confdata.c

index 1b8882ddbc74fed0fbed2c22f8dd317b6de0106b..1b5df589f3aecc12f3c0b8bde93526c84c0a60ec 100644 (file)
@@ -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;
 }
This page took 0.055489 seconds and 4 git commands to generate.