mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
Fix missing brackets
Change-Id: I9d4fefdd128c087f9495055dbf3b6aa63ac62fd2 BUG=none TEST=make && make runtests Review URL: http://codereview.chromium.org/6610023
This commit is contained in:
@@ -167,7 +167,7 @@ int LoadKernel(LoadKernelParams* params) {
|
|||||||
|
|
||||||
if (rec_switch)
|
if (rec_switch)
|
||||||
boot_mode = kBootRecovery;
|
boot_mode = kBootRecovery;
|
||||||
else if (BOOT_FLAG_DEV_FIRMWARE & params->boot_flags)
|
else if (BOOT_FLAG_DEV_FIRMWARE & params->boot_flags) {
|
||||||
if (!dev_switch) {
|
if (!dev_switch) {
|
||||||
/* Dev firmware should be signed such that it never boots with the dev
|
/* Dev firmware should be signed such that it never boots with the dev
|
||||||
* switch is off; so something is terribly wrong. */
|
* switch is off; so something is terribly wrong. */
|
||||||
@@ -176,7 +176,7 @@ int LoadKernel(LoadKernelParams* params) {
|
|||||||
goto LoadKernelExit;
|
goto LoadKernelExit;
|
||||||
}
|
}
|
||||||
boot_mode = kBootDev;
|
boot_mode = kBootDev;
|
||||||
else {
|
} else {
|
||||||
/* Normal firmware */
|
/* Normal firmware */
|
||||||
boot_mode = kBootNormal;
|
boot_mode = kBootNormal;
|
||||||
dev_switch = 0; /* Always do a fully verified boot */
|
dev_switch = 0; /* Always do a fully verified boot */
|
||||||
|
|||||||
Reference in New Issue
Block a user