aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor_darwin.h')
-rw-r--r--executor/executor_darwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/executor_darwin.h b/executor/executor_darwin.h
index d7c6c4574..3742af8b9 100644
--- a/executor/executor_darwin.h
+++ b/executor/executor_darwin.h
@@ -80,7 +80,7 @@ static void cover_mmap(cover_t* cov)
// Sanity check to make sure our assumptions in the max_entries calculation
// hold up.
- if (mmap_alloc_size > kCoverSize)
+ if (cov->mmap_alloc_size > kCoverSize)
fail("mmap allocation size larger than anticipated");
cov->data = (char*)mmap_ptr;