diff options
Diffstat (limited to 'boot_control_android.cc')
-rw-r--r-- | boot_control_android.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/boot_control_android.cc b/boot_control_android.cc index 421c0912..8909cd90 100644 --- a/boot_control_android.cc +++ b/boot_control_android.cc @@ -232,8 +232,7 @@ bool BootControlAndroid::IsSlotBootable(Slot slot) const { Return<BoolResult> ret = module_->isSlotBootable(slot); if (!ret.isOk()) { LOG(ERROR) << "Unable to determine if slot " << SlotName(slot) - << " is bootable: " - << ret.description(); + << " is bootable: " << ret.description(); return false; } if (ret == BoolResult::INVALID_SLOT) { @@ -248,8 +247,7 @@ bool BootControlAndroid::MarkSlotUnbootable(Slot slot) { auto ret = module_->setSlotAsUnbootable(slot, StoreResultCallback(&result)); if (!ret.isOk()) { LOG(ERROR) << "Unable to call MarkSlotUnbootable for slot " - << SlotName(slot) << ": " - << ret.description(); + << SlotName(slot) << ": " << ret.description(); return false; } if (!result.success) { @@ -279,8 +277,7 @@ bool BootControlAndroid::MarkBootSuccessfulAsync( CommandResult result; auto ret = module_->markBootSuccessful(StoreResultCallback(&result)); if (!ret.isOk()) { - LOG(ERROR) << "Unable to call MarkBootSuccessful: " - << ret.description(); + LOG(ERROR) << "Unable to call MarkBootSuccessful: " << ret.description(); return false; } if (!result.success) { |