Signed-off-by: Ladislav Michl <[email protected]>
Fixes: b234a6da331f ("environment: Do not use environment when
overlapping with other partitions")
---
common/startup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/startup.c b/common/startup.c
index 832d3262f..5793ea28a 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -110,9 +110,9 @@ static int check_overlap(const char *path)
conflict:
pr_err("Environment partition (0x%08llx-0x%08llx) "
"overlaps with partition %s (0x%08llx-0x%08llx), not using
it\n",
- cenv->offset, cenv->offset + cenv->offset + cenv->size - 1,
+ cenv->offset, cenv->offset + cenv->size - 1,
cpart->name,
- cpart->offset, cpart->offset + cpart->offset + cpart->size - 1);
+ cpart->offset, cpart->offset + cpart->size - 1);
return -EINVAL;
}
--
2.19.1
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox