Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28b81cdc authored by David Anderson's avatar David Anderson
Browse files

fastbootd: Fix getvar max-download-size formatting.

Bug: 78793464
Test: fuzzy_fastboot Conformance.GetVarDownloadSize passes
Change-Id: I8f33cb01e5b2ba66eab91b2481322d7fae593cf0
parent f33d19ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}