Skip to content

Commit

Permalink
another reversal of something that breaks on wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Jul 17, 2024
1 parent 299a8b8 commit 44507bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/sysinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -558,9 +558,8 @@ int GetNumCPUsImpl() {
int GetNumCPUs() {
const int num_cpus = GetNumCPUsImpl();
if (num_cpus < 1) {
PrintErrorAndDie(
"Unable to extract number of CPUs. If your platform uses "
"/proc/cpuinfo, custom support may need to be added.");
std::cerr << "Unable to extract number of CPUs. If your platform uses "
"/proc/cpuinfo, custom support may need to be added.\n";
}
return num_cpus;
}
Expand Down

0 comments on commit 44507bc

Please sign in to comment.