提交 b5ac4817 编写于 作者: R Roman Zippel 提交者: Sam Ravnborg

kconfig: fix typo in change count initialization

Configuration needs saving when either of these conditions is true.
Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 94f2505b
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册