update engine: clang formatting
Fix clang formatting issues for all .cc, .h, and .proto files
in update engine.
~/trunk/src/chromium/src/buildtools/linux64/clang-format -i \
-style=file $(find update_engine -name '*.h' -o -name '*.cc' \
-o -name '*.cpp' -o -name '*.c')
BUG=b:169679497
TEST=CQ pass
Change-Id: I4fde01d3e734dbffaa2c7e7b667503d310abccae
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2462840
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Jae Hoon Kim <kimjae@chromium.org>
Tested-by: Vyshu Khota <vyshu@google.com>
Commit-Queue: Vyshu Khota <vyshu@google.com>
diff --git a/boot_control_chromeos.cc b/boot_control_chromeos.cc
index 95456f0..da2c891 100644
--- a/boot_control_chromeos.cc
+++ b/boot_control_chromeos.cc
@@ -128,8 +128,9 @@
}
if (current_slot_ >= num_slots_) {
LOG(ERROR) << "Couldn't find the slot number corresponding to the "
- << "partition " << boot_device << ", number of slots: "
- << num_slots_ << ". This device is not updateable.";
+ << "partition " << boot_device
+ << ", number of slots: " << num_slots_
+ << ". This device is not updateable.";
num_slots_ = 1;
current_slot_ = BootControlInterface::kInvalidSlot;
return false;