diff options
Diffstat (limited to 'boot_control_chromeos.cc')
-rw-r--r-- | boot_control_chromeos.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/boot_control_chromeos.cc b/boot_control_chromeos.cc index 3dee6604..ccba316c 100644 --- a/boot_control_chromeos.cc +++ b/boot_control_chromeos.cc @@ -124,9 +124,8 @@ bool BootControlChromeOS::Init() { } 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; @@ -303,8 +302,7 @@ bool BootControlChromeOS::IsRemovableDevice(const string& device) { } int BootControlChromeOS::GetPartitionNumber( - const string partition_name, - BootControlInterface::Slot slot) const { + const string partition_name, BootControlInterface::Slot slot) const { if (slot >= num_slots_) { LOG(ERROR) << "Invalid slot number: " << slot << ", we only have " << num_slots_ << " slot(s)"; |