summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 91e844aa6..68efa08c3 100644
--- a/fastboot/device/variables.cpp
+++ b/fastboot/device/variables.cpp
@@ -139,7 +139,7 @@ bool GetSlotUnbootable(FastbootDevice* device, const std::vector<std::string>& a
bool GetMaxDownloadSize(FastbootDevice* /* device */, const std::vector<std::string>& /* args */,
std::string* message) {
- *message = std::to_string(kMaxDownloadSizeDefault);
+ *message = android::base::StringPrintf("0x%X", kMaxDownloadSizeDefault);
return true;
}