diff options
author | David Anderson <dvander@google.com> | 2018-09-04 16:51:29 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-09-05 12:52:14 -0700 |
commit | 28b81cdc91e9cbc69697d122ee4d8ab8b5b1a685 (patch) | |
tree | edcf1c538b58567231af1de679b5ce2272b97eea /fastboot/device/variables.cpp | |
parent | f33d19ff211317017bf7be936b32dafebc286ef9 (diff) |
fastbootd: Fix getvar max-download-size formatting.
Bug: 78793464
Test: fuzzy_fastboot Conformance.GetVarDownloadSize passes
Change-Id: I8f33cb01e5b2ba66eab91b2481322d7fae593cf0
Diffstat (limited to 'fastboot/device/variables.cpp')
-rw-r--r-- | fastboot/device/variables.cpp | 2 |
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; } |