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
This commit is contained in:
parent
3498578c4c
commit
1e8e49cc2c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue