Commit 59b63e56 authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

Fix identation

Signed-off-by: default avatarFabio Utzig <utzig@apache.org>
parent c28005b0
Loading
Loading
Loading
Loading
+1 −2
Changes for boot/bootutil/src/loader.c: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -2266,8 +2266,7 @@ boot_prepare_image_for_update(struct boot_loader_state *state,
                        boot_validate_slot(state, BOOT_PRIMARY_SLOT, bs) != 0) {
                    if (boot_img_hdr(state,
                            BOOT_SECONDARY_SLOT)->ih_magic == IMAGE_MAGIC &&
                         boot_validate_slot(state, BOOT_SECONDARY_SLOT, bs) == 0)
                     {
                            boot_validate_slot(state, BOOT_SECONDARY_SLOT, bs) == 0) {
                        /* Set swap type to REVERT to overwrite the primary
                         * slot with the image contained in secondary slot
                         * and to trigger the explicit setting of the