summaryrefslogtreecommitdiff
path: root/fastboot/device/variables.cpp
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-10-09 21:38:48 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-10-09 21:38:48 +0000
commitb2263b4a075f93cc487c6e7e7cfc6e33afdf6ff9 (patch)
tree45ec572b4d1d5f12ed38e480739c92bffb4c5fe6 /fastboot/device/variables.cpp
parented6f596de277ddb988458f8b713b07cf95337157 (diff)
parent2a377da2f6b2577cd15698e39e1a003b3c632709 (diff)
Merge "Return partition size in hex format."
Diffstat (limited to 'fastboot/device/variables.cpp')
-rw-r--r--fastboot/device/variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/device/variables.cpp b/fastboot/device/variables.cpp
index 630e22d88..c8756aedb 100644
--- a/fastboot/device/variables.cpp
+++ b/fastboot/device/variables.cpp
@@ -288,7 +288,7 @@ bool GetPartitionSize(FastbootDevice* device, const std::vector<std::string>& ar
bool is_zero_length;
if (LogicalPartitionExists(args[0], device->GetCurrentSlot(), &is_zero_length) &&
is_zero_length) {
- *message = "0";
+ *message = "0x0";
return true;
}
// Otherwise, open the partition as normal.