Index: base/sys_info_posix.cc |
diff --git a/base/sys_info_posix.cc b/base/sys_info_posix.cc |
index f2119cd7fdb538ebc34699088387aa2381e8cc4e..854f123d469a236c8e1ed6a674b2318bc4e5fdfc 100644 |
--- a/base/sys_info_posix.cc |
+++ b/base/sys_info_posix.cc |
@@ -44,9 +44,8 @@ int64 SysInfo::AmountOfFreeDiskSpace(const FilePath& path) { |
base::ThreadRestrictions::AssertIOAllowed(); |
struct statvfs stats; |
- if (statvfs(path.value().c_str(), &stats) != 0) { |
+ if (HANDLE_EINTR(statvfs(path.value().c_str(), &stats)) != 0) |
return -1; |
- } |
return static_cast<int64>(stats.f_bavail) * stats.f_frsize; |
} |