From c35af58b61daa111c93924e0e7b65022871fadac Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Tue, 4 Feb 2025 05:32:41 -0500 Subject: [PATCH] Update error message now that /proc/cpuinfo is no longer in use (#1917) c24774dc4f4402c3ad150363321cc972ed2669e7 removed using /proc/cpuinfo so no longer mention it in the error message. --- src/sysinfo.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sysinfo.cc b/src/sysinfo.cc index eddd430e68..2787e87c8e 100644 --- a/src/sysinfo.cc +++ b/src/sysinfo.cc @@ -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; }