diff options
-rw-r--r-- | compiler-rt/lib/xray/xray_x86_64.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/xray/xray_x86_64.cc b/compiler-rt/lib/xray/xray_x86_64.cc index dea521ec766..508f749c24f 100644 --- a/compiler-rt/lib/xray/xray_x86_64.cc +++ b/compiler-rt/lib/xray/xray_x86_64.cc @@ -89,7 +89,7 @@ uint64_t getTSCFrequency() XRAY_NEVER_INSTRUMENT { int Mib[2] = { CTL_MACHDEP, CPU_TSCFREQ }; if (sysctl(Mib, 2, &TSCFrequency, &tscfreqsz, NULL, 0) != -1) { #elif SANITIZER_MAC - if (sysctlbyname("machdep.tsc.frequency", &TSCFrequency, &tscfreqz, + if (sysctlbyname("machdep.tsc.frequency", &TSCFrequency, &tscfreqsz, NULL, 0) != -1 ) { #else |