diff options
author | Jeff Lane <jeffrey.lane@canonical.com> | 2015-07-17 11:25:34 -0400 |
---|---|---|
committer | Jeff Lane <jeffrey.lane@canonical.com> | 2015-07-17 11:25:34 -0400 |
commit | 752018a699f06357228966b4101f6b9d4ac222ce (patch) | |
tree | 21a380e7168936706b902d0ebc2928ce636723df | |
parent | aba456242f6b053365d461da03ee7c3a525dc683 (diff) |
refinement to error output for sysfs_cpu()
-rwxr-xr-x | bin/cpu_topology | 3 |
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() |