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

Commit 1e8e49cc authored by Steven Moreland's avatar Steven Moreland
Browse files

statusToString: parenthesize strerror

For clarity, when printint w/o delination, noticed in b/145776393.

Test: view output of statusToString from a dumpsys change
Change-Id: I5ea9f052c223f167dd58923e2470c852907c97b8
parent 3498578c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ std::string statusToString(status_t s) {
#undef STATUS_CASE
    }

    return std::to_string(s) + ' ' + strerror(-s);
    return std::to_string(s) + " (" + strerror(-s) + ")";
}

}  // namespace android