Chromium Code Reviews| Index: src/platform-linux.cc |
| =================================================================== |
| --- src/platform-linux.cc (revision 6868) |
| +++ src/platform-linux.cc (working copy) |
| @@ -327,7 +327,7 @@ |
| OS::MemoryMappedFile* OS::MemoryMappedFile::open(const char* name) { |
| - FILE* file = fopen(name, "w+"); |
| + FILE* file = fopen(name, "r+"); |
| if (file == NULL) return NULL; |
| fseek(file, 0, SEEK_END); |