Index: base/file_util_posix.cc |
=================================================================== |
--- base/file_util_posix.cc (revision 266744) |
+++ base/file_util_posix.cc (working copy) |
@@ -79,7 +79,7 @@ |
ThreadRestrictions::AssertIOAllowed(); |
return lstat64(path, sb); |
} |
-#endif // !(defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL)) |
+#endif // !(defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL)) |
// Helper for NormalizeFilePath(), defined below. |
bool RealPath(const FilePath& path, FilePath* real_path) { |
@@ -173,7 +173,7 @@ |
CHECK_GE(sysconf_result, 0); |
size_t pagesize = static_cast<size_t>(sysconf_result); |
CHECK_GE(sizeof(pagesize), sizeof(sysconf_result)); |
- void *mapping = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, fd.get(), 0); |
+ void* mapping = mmap(NULL, pagesize, PROT_READ, MAP_SHARED, fd.get(), 0); |
if (mapping != MAP_FAILED) { |
if (mprotect(mapping, pagesize, PROT_READ | PROT_EXEC) == 0) |
result = true; |