summaryrefslogtreecommitdiff
diff options
-rwxr-xr-xbin/cpu_topology3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/cpu_topology b/bin/cpu_topology
index 4cb2249..ba27b6a 100755
--- a/bin/cpu_topology
+++ b/bin/cpu_topology
@@ -47,7 +47,8 @@ class sysfs_cpu():
try:
syscpu_fh = open(os.path.join(self.path, i), 'r')
except FileNotFoundError:
- print("/sys/devices seems to be missing, unable to continue")
+ print("ERROR: %s seems to be missing, unable to continue" %
+ self.path)
sys.exit(1)
else:
self.syscpu[i] = syscpu_fh.readline().strip()