mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-24 23:40:39 +01:00
[v1.06][PPC] Small fix to see if helps
This commit is contained in:
@@ -84,6 +84,10 @@ struct topology* get_topology_info(struct cache* cach) {
|
||||
// fill_package_ids_from_sys failed, use a
|
||||
// more sophisticated wat to find the number of sockets
|
||||
topo->sockets = get_num_sockets_package_cpus(topo);
|
||||
if (topo->sockets == UNKNOWN_DATA) {
|
||||
printWarn("get_num_sockets_package_cpus failed: assuming 1 socket");
|
||||
topo->sockets = 1;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// fill_package_ids_from_sys succeeded, use the
|
||||
|
||||
Reference in New Issue
Block a user