Commit b6297af6 authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

Log error message when slot fails validation

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent e30e9b0b
Loading
Loading
Loading
Loading
+1
Changes for boot/bootutil/src/loader.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -590,6 +590,7 @@ boot_validate_slot(int slot)
             * continue booting from slot 0.
             */
        }
        BOOT_LOG_ERR("Image in slot %d is not valid!", slot);
        return -1;
    }