aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_darwin.h
diff options
context:
space:
mode:
authoraiQG_ <lovequange1314@gmail.com>2022-02-16 15:43:30 +0800
committerAleksandr Nogikh <wp32pw@gmail.com>2022-02-21 20:37:29 +0100
commit6e821dbf79b49f1952fc147f237aa0f396790edc (patch)
tree69cf764b5a33bbade7fc8a76401de6d675ad89ad /executor/executor_darwin.h
parent3cd800e43d452c348a66ba475143831d94969a24 (diff)
fix: "mmap_alloc_size"->"cov->mmap_alloc_size"
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;