mirror of
https://github.com/anrieff/libcpuid
synced 2025-06-07 00:51:40 +00:00
Fix kernel module name for FreeBSD ARM
This commit is contained in:
parent
5bb7c32618
commit
9decce5867
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue