Whamcloud - gitweb
LU-8703 libcfs: fix error messages
[fs/lustre-release.git] / libcfs / libcfs / linux / linux-cpu.c
index dca5d37..f9c2206 100644 (file)
@@ -1120,8 +1120,9 @@ cfs_cpu_init(void)
        }
        spin_unlock(&cpt_data.cpt_lock);
 
-       LCONSOLE(0, "HW CPU cores: %d, npartitions: %d\n",
-                num_online_cpus(), cfs_cpt_number(cfs_cpt_table));
+       LCONSOLE(0, "HW nodes: %d, HW CPU cores: %d, npartitions: %d\n",
+                    num_online_nodes(), num_online_cpus(),
+                    cfs_cpt_number(cfs_cpt_table));
        return 0;
 
  failed: