From b287d6f5626b9becb8747d13ff7fac2c50e9aed8 Mon Sep 17 00:00:00 2001 From: kib Date: Thu, 21 Dec 2017 23:05:13 +0000 Subject: [PATCH] Fix build for kernels with SCHED_4BSD. Sponsored by: The FreeBSD Foundation --- sys/net/iflib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/iflib.c b/sys/net/iflib.c index 9e11f56a4daf..3decf974020b 100644 --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -5127,7 +5127,7 @@ find_thread(int cpu, int thread_num) static int find_thread(int cpu, int thread_num __unused) { - return cpu_id; + return cpu; } #endif