diff options
Diffstat (limited to 'pcap_mm.c')
-rw-r--r-- | pcap_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -91,7 +91,7 @@ static inline off_t ____get_map_size(bool jumbo) { int allocsz = jumbo ? 16 : 3; - return PAGE_ALIGN(sizeof(struct pcap_filehdr) + (PAGE_SIZE * allocsz) * 1024); + return PAGE_ALIGN(sizeof(struct pcap_filehdr) + (RUNTIME_PAGE_SIZE * allocsz) * 1024); } static void __pcap_mm_prepare_access_wr(int fd, bool jumbo) |