summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.h b/utils.h
index 77ed9d9f..2961edf1 100644
--- a/utils.h
+++ b/utils.h
@@ -480,7 +480,7 @@ class ScopedEintrSafeFdCloser {
explicit ScopedEintrSafeFdCloser(int* fd) : fd_(fd), should_close_(true) {}
~ScopedEintrSafeFdCloser() {
if (should_close_ && fd_ && (*fd_ >= 0)) {
- if (!HANDLE_EINTR(close(*fd_)))
+ if (!IGNORE_EINTR(close(*fd_)))
*fd_ = -1;
}
}