Skip to content

Commit 5cb0cb5

Browse files
committed
update: fix invalid size log
F/2273
1 parent 559ee3d commit 5cb0cb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/update_flash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ static int RAMFUNCTION wolfBoot_update(int fallback_allowed)
903903
/* get total size */
904904
total_size = wolfBoot_get_total_size(&boot, &update);
905905
if (total_size <= IMAGE_HEADER_SIZE) {
906-
wolfBoot_printf("Image total size %u too large!\n", total_size);
906+
wolfBoot_printf("Image total size %u invalid!\n", total_size);
907907
return -1;
908908
}
909909
/* In case this is a new update, do the required

0 commit comments

Comments
 (0)