Skip to content

Commit

Permalink
Update error message now that /proc/cpuinfo is no longer in use (#1917)
Browse files Browse the repository at this point in the history
c24774d removed using /proc/cpuinfo
so no longer mention it in the error message.
  • Loading branch information
brad0 authored Feb 4, 2025
1 parent 4a805f9 commit c35af58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sysinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,7 @@ int GetNumCPUsImpl() {
int GetNumCPUs() {
int num_cpus = GetNumCPUsImpl();
if (num_cpus < 1) {
std::cerr << "Unable to extract number of CPUs. If your platform uses "
"/proc/cpuinfo, custom support may need to be added.\n";
std::cerr << "Unable to extract number of CPUs.\n";
/* There is at least one CPU which we run on. */
num_cpus = 1;
}
Expand Down

0 comments on commit c35af58

Please sign in to comment.