Fix missing brackets

Change-Id: I9d4fefdd128c087f9495055dbf3b6aa63ac62fd2

BUG=none
TEST=make && make runtests

Review URL: http://codereview.chromium.org/6610023
This commit is contained in:
Randall Spangler
2011-03-03 11:00:17 -08:00
parent 640fb51d86
commit 8478ece80f

View File

@@ -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 */