summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/file_util.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/base/file_util.h b/base/file_util.h
index 48f431f..a16c5c72 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -35,7 +35,6 @@
#if defined(OS_POSIX)
#include "base/eintr_wrapper.h"
#include "base/file_descriptor_posix.h"
-#include "base/logging.h"
#endif
namespace base {
@@ -378,8 +377,7 @@ class ScopedFDClose {
public:
inline void operator()(int* x) const {
if (x && *x >= 0) {
- if (HANDLE_EINTR(close(*x)) < 0)
- PLOG(ERROR) << "close";
+ HANDLE_EINTR(close(*x));
}
}
};