diff options
Diffstat (limited to 'libpixelflinger')
-rw-r--r-- | libpixelflinger/codeflinger/CodeCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpixelflinger/codeflinger/CodeCache.cpp b/libpixelflinger/codeflinger/CodeCache.cpp index 7446da286..8afe0a994 100644 --- a/libpixelflinger/codeflinger/CodeCache.cpp +++ b/libpixelflinger/codeflinger/CodeCache.cpp | |||
@@ -89,7 +89,7 @@ static mspace getMspace() | |||
89 | gExecutableStore = mmap(NULL, kMaxCodeCacheCapacity, | 89 | gExecutableStore = mmap(NULL, kMaxCodeCacheCapacity, |
90 | PROT_READ | PROT_WRITE | PROT_EXEC, | 90 | PROT_READ | PROT_WRITE | PROT_EXEC, |
91 | MAP_PRIVATE, fd, 0); | 91 | MAP_PRIVATE, fd, 0); |
92 | LOG_ALWAYS_FATAL_IF(gExecutableStore == NULL, | 92 | LOG_ALWAYS_FATAL_IF(gExecutableStore == MAP_FAILED, |
93 | "Creating code cache, mmap failed with error " | 93 | "Creating code cache, mmap failed with error " |
94 | "'%s'", strerror(errno)); | 94 | "'%s'", strerror(errno)); |
95 | close(fd); | 95 | close(fd); |