diff options
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r-- | netsniff-ng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c index 6a83702..1e9d6f9 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -580,7 +580,7 @@ static void read_pcap(struct ctx *ctx) dissector_init_all(ctx->print_mode); - out_len = round_up(1024 * 1024, PAGE_SIZE); + out_len = round_up(1024 * 1024, RUNTIME_PAGE_SIZE); out = xmalloc_aligned(out_len, CO_CACHE_LINE_SIZE); if (ctx->device_out) { |