瀏覽代碼

HPCC-17096 GetCpuInfo() 64k file size limit

Fix build break on OSX

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 8 年之前
父節點
當前提交
02f22219ca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      system/jlib/jdebug.cpp

+ 1 - 1
system/jlib/jdebug.cpp

@@ -1057,7 +1057,7 @@ void getCpuInfo(unsigned &numCPUs, unsigned &CPUSpeed)
 # if defined(_SC_NPROCESSORS_CONF)
     int ncpus = sysconf(_SC_NPROCESSORS_CONF);
     if (ncpus > 0)
-        numCPUS = ncpus;
+        numCPUs = ncpus;
 # endif
 #else // linux
     // NOTE: Could have perhaps used sysconf(_SC_NPROCESSORS_CONF) for numCPUs