summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout.c b/layout.c
index e688f794a..36aa247de 100644
--- a/layout.c
+++ b/layout.c
@@ -257,7 +257,7 @@ int included_regions_overlap(const struct flashrom_layout *const l)
const struct romentry *rhs = lhs;
while ((rhs = layout_next(l, rhs))) {
- if (rhs->included)
+ if (!rhs->included)
continue;
if (lhs->start > rhs->end)