Index: src/platform-openbsd.cc |
diff --git a/src/platform-openbsd.cc b/src/platform-openbsd.cc |
index 3b820bc3d034009adc315fed4e11e77ee679f0c5..6d0507cee6cdd92ed139a44bd0ff2ec221dc608d 100644 |
--- a/src/platform-openbsd.cc |
+++ b/src/platform-openbsd.cc |
@@ -60,11 +60,7 @@ void* OS::Allocate(const size_t requested, |
int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0); |
void* addr = OS::GetRandomMmapAddr(); |
void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); |
- if (mbase == MAP_FAILED) { |
- LOG(i::Isolate::Current(), |
- StringEvent("OS::Allocate", "mmap failed")); |
- return NULL; |
- } |
+ if (mbase == MAP_FAILED) return NULL; |
*allocated = msize; |
return mbase; |
} |