diff --git a/fastboot/device/variables.cpp b/fastboot/device/variables.cpp index 91e844aa6131c5abe7f07195e2def2d5f26f5967..68efa08c35e13f9a5c4ac35ad3afdce8522804a8 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; }