From 6e821dbf79b49f1952fc147f237aa0f396790edc Mon Sep 17 00:00:00 2001 From: aiQG_ Date: Wed, 16 Feb 2022 15:43:30 +0800 Subject: fix: "mmap_alloc_size"->"cov->mmap_alloc_size" --- executor/executor_darwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor') 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; -- cgit mrf-deployment