diff options
| author | 2018-07-23 17:14:34 -0700 | |
|---|---|---|
| committer | 2018-07-23 17:14:34 -0700 | |
| commit | 2a7867fa6bbc2a75fa4f5d8d23a173f8e5065f4d (patch) | |
| tree | 258f6edc9be4bf551234b65c8250d3bd3a8f4a8c /libartbase/base/utils.h | |
| parent | fe62f672694a70d151d0b55bbce718b5d66a5f5a (diff) | |
ART: Fix CheckedCall
We use it for POSIX calls, not pthread-style calls.
Bug: 111766751
Test: m test-art-host
Change-Id: I7f8ecd70ef89ee121cb69a73c2d8847417082ef6
Diffstat (limited to 'libartbase/base/utils.h')
| -rw-r--r-- | libartbase/base/utils.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libartbase/base/utils.h b/libartbase/base/utils.h index 6e3b78e12c..ba61e1b0a3 100644 --- a/libartbase/base/utils.h +++ b/libartbase/base/utils.h @@ -239,7 +239,6 @@ template <typename Func, typename... Args> static inline void CheckedCall(const Func& function, const char* what, Args... args) { int rc = function(args...); if (UNLIKELY(rc != 0)) { - errno = rc; PLOG(FATAL) << "Checked call failed for " << what; } } |