Skip to content

Commit

Permalink
roll back fatal error that breaks some platform (wasm) expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
dmah42 committed Jul 17, 2024
1 parent 65668db commit a73c039
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sysinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,8 @@ int GetNumCPUsImpl() {
int max_id = -1;
std::ifstream f("/proc/cpuinfo");
if (!f.is_open()) {
PrintErrorAndDie("Failed to open /proc/cpuinfo");
std::cerr << "Failed to open /proc/cpuinfo\n";
return -1;
}
#if defined(__alpha__)
const std::string Key = "cpus detected";
Expand Down

0 comments on commit a73c039

Please sign in to comment.