summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/lib/gpt_misc.c2
-rw-r--r--firmware/lib/vboot_kernel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/lib/gpt_misc.c b/firmware/lib/gpt_misc.c
index ae7f8a23..e909e793 100644
--- a/firmware/lib/gpt_misc.c
+++ b/firmware/lib/gpt_misc.c
@@ -202,7 +202,7 @@ int WriteAndFreeGptData(VbExDiskHandle_t disk_handle, GptData *gptdata)
ret = 0;
-fail:
+ fail:
/* Avoid leaking memory on disk write failure */
if (gptdata->primary_header)
free(gptdata->primary_header);
diff --git a/firmware/lib/vboot_kernel.c b/firmware/lib/vboot_kernel.c
index 7420a697..7f6c880f 100644
--- a/firmware/lib/vboot_kernel.c
+++ b/firmware/lib/vboot_kernel.c
@@ -615,7 +615,7 @@ vb2_error_t LoadKernel(struct vb2_context *ctx, LoadKernelParams *params)
}
} /* while(GptNextKernelEntry) */
-gpt_done:
+ gpt_done:
/* Write and free GPT data */
WriteAndFreeGptData(params->disk_handle, &gpt);