aboutsummaryrefslogtreecommitdiffstats
path: root/ich_descriptors.c
diff options
context:
space:
mode:
Diffstat (limited to 'ich_descriptors.c')
-rw-r--r--ich_descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ich_descriptors.c b/ich_descriptors.c
index 5e6c7fb5..21fc40b6 100644
--- a/ich_descriptors.c
+++ b/ich_descriptors.c
@@ -1279,7 +1279,7 @@ int layout_from_ich_descriptors(
return 1;
}
- if (flashrom_layout_new(layout, ARRAY_SIZE(regions)))
+ if (flashrom_layout_new(layout))
return 2;
ssize_t i;