commit | b033ea31ad39576ca497268d044b76a3bbfcb079 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Dec 10 20:57:10 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Dec 10 20:57:10 2019 +0000 |
tree | 4c484df395628355b798cc56513748e311868986 | |
parent | 3498578c4c4afd707a618dedec2879fedecddfcf [diff] | |
parent | 1e8e49cc2ce87289d7baa3652b115f67646ba843 [diff] |
Merge "statusToString: parenthesize strerror"
diff --git a/libutils/Errors.cpp b/libutils/Errors.cpp index 2dfd138..74f3bef 100644 --- a/libutils/Errors.cpp +++ b/libutils/Errors.cpp
@@ -45,7 +45,7 @@ #undef STATUS_CASE } - return std::to_string(s) + ' ' + strerror(-s); + return std::to_string(s) + " (" + strerror(-s) + ")"; } } // namespace android