From 9decce5867ce863953ad9b01841960e65657328c Mon Sep 17 00:00:00 2001 From: The Tumultuous Unicorn Of Darkness Date: Thu, 8 May 2025 18:22:12 +0200 Subject: [PATCH] Fix kernel module name for FreeBSD ARM --- libcpuid/rdcpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpuid/rdcpuid.c b/libcpuid/rdcpuid.c index f7dd2be..94a720d 100644 --- a/libcpuid/rdcpuid.c +++ b/libcpuid/rdcpuid.c @@ -62,7 +62,7 @@ static int load_driver(char *cpuid_path) # if defined (__linux__) || defined (__gnu_linux__) return !system("modprobe cpuid 2> /dev/null"); # elif defined (__FreeBSD__) || defined (__DragonFly__) - return !system("kldload -n cpuctl 2> /dev/null"); + return !system("kldload -n cpuid 2> /dev/null"); # endif }