summaryrefslogtreecommitdiffstats
path: root/common/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/startup.c')
-rw-r--r--common/startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/startup.c b/common/startup.c
index 832d3262fe..5793ea28ac 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;
}