diff options
-rw-r--r-- | core/flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/flash.c b/core/flash.c index d3bda65..e9c1f7d 100644 --- a/core/flash.c +++ b/core/flash.c @@ -455,7 +455,7 @@ static int flash_find_subpartition(struct blocklevel_device *bl, uint32_t subid, /* Get the TOC */ rc = flash_read_corrected(bl, *start, header, - FLASH_SUBPART_HEADER_SIZE, ecc); + FLASH_SUBPART_HEADER_SIZE, *ecc); if (rc) { prerror("FLASH: flash subpartition TOC read failed %i\n", rc); goto end; |