summaryrefslogtreecommitdiff
path: root/fmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fmap.c')
-rw-r--r--fmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fmap.c b/fmap.c
index d44b7fa4..84b3b549 100644
--- a/fmap.c
+++ b/fmap.c
@@ -243,7 +243,7 @@ static int fmap_bsearch_rom(struct fmap **fmap_out, struct flashctx *const flash
if (flashctx->chip->read(flashctx, (uint8_t *)fmap + sig_len,
offset + sig_len, sizeof(*fmap) - sig_len)) {
msg_cerr("Cannot read %zu bytes at offset %06zx\n",
- sizeof(*fmap) + sig_len, offset + sig_len);
+ sizeof(*fmap) - sig_len, offset + sig_len);
continue;
}