summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2011-03-03 11:00:17 -0800
committerRandall Spangler <rspangler@chromium.org>2011-03-03 11:00:17 -0800
commit8478ece80f50b4b890458559f82fc1f9a6fd0b54 (patch)
tree4d19e5a36fab13339867783ecab177270298b595
parent640fb51d866e7ac8a92f61a2f69145bfe6b13699 (diff)
downloadvboot-8478ece80f50b4b890458559f82fc1f9a6fd0b54.tar.gz
Fix missing brackets
Change-Id: I9d4fefdd128c087f9495055dbf3b6aa63ac62fd2 BUG=none TEST=make && make runtests Review URL: http://codereview.chromium.org/6610023
-rw-r--r--firmware/lib/vboot_kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/lib/vboot_kernel.c b/firmware/lib/vboot_kernel.c
index 2fbcaa84..87ed8747 100644
--- a/firmware/lib/vboot_kernel.c
+++ b/firmware/lib/vboot_kernel.c
@@ -167,7 +167,7 @@ int LoadKernel(LoadKernelParams* params) {
if (rec_switch)
boot_mode = kBootRecovery;
- else if (BOOT_FLAG_DEV_FIRMWARE & params->boot_flags)
+ else if (BOOT_FLAG_DEV_FIRMWARE & params->boot_flags) {
if (!dev_switch) {
/* Dev firmware should be signed such that it never boots with the dev
* switch is off; so something is terribly wrong. */
@@ -176,7 +176,7 @@ int LoadKernel(LoadKernelParams* params) {
goto LoadKernelExit;
}
boot_mode = kBootDev;
- else {
+ } else {
/* Normal firmware */
boot_mode = kBootNormal;
dev_switch = 0; /* Always do a fully verified boot */