We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41ffb2c commit 6ce320eCopy full SHA for 6ce320e
1 file changed
src/update_flash.c
@@ -1456,7 +1456,7 @@ void RAMFUNCTION wolfBoot_start(void)
1456
wolfBoot_panic();
1457
} else {
1458
/* Emergency update successful, try to re-open boot image */
1459
- if (likely(((wolfBoot_open_image(&boot, PART_BOOT) < 0) ||
+ if (unlikely(((wolfBoot_open_image(&boot, PART_BOOT) < 0) ||
1460
(wolfBoot_verify_integrity(&boot) < 0) ||
1461
(wolfBoot_verify_authenticity(&boot) < 0)
1462
))) {
0 commit comments