From 8478ece80f50b4b890458559f82fc1f9a6fd0b54 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Thu, 3 Mar 2011 11:00:17 -0800 Subject: Fix missing brackets Change-Id: I9d4fefdd128c087f9495055dbf3b6aa63ac62fd2 BUG=none TEST=make && make runtests Review URL: http://codereview.chromium.org/6610023 --- firmware/lib/vboot_kernel.c | 4 ++-- 1 file 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 */ -- cgit v1.2.1