commit | e7391701e08ba57c56aa3804d9f470fa99ed41e8 | [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 | ed84f27552fd0ea6a29d60c00ccd658be852404b [diff] | |
parent | 240b7038a7fa9d37d3710cf069d640bb81581da0 [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