mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
security/zeek: fix build on powerpc64le
Fix typo in systlbyname().
This commit is contained in:
parent
1eeb9f4c46
commit
007250765e
@ -0,0 +1,11 @@
|
||||
--- auxil/highwayhash/highwayhash/arch_specific.cc.orig 2021-03-23 17:45:40 UTC
|
||||
+++ auxil/highwayhash/highwayhash/arch_specific.cc
|
||||
@@ -150,7 +150,7 @@ double DetectNominalClockRate() {
|
||||
}
|
||||
#elif __FreeBSD__
|
||||
size_t length = sizeof(freq);
|
||||
- sysctlbyname("dev.cpu.0.freq"), &freq, &length, NULL, 0);
|
||||
+ sysctlbyname("dev.cpu.0.freq", &freq, &length, NULL, 0);
|
||||
freq *= 1E6;
|
||||
return freq;
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user