2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 06:15:15 +00:00

don't print device ID if 0

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2338 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2004-03-05 04:31:10 +00:00
parent a8b840a15c
commit 2edf79f350

View File

@@ -2543,7 +2543,7 @@ sub scan_superio
$new_hash;
exit_superio($chip, 1);
} else {
if($val == 0xff || $val == 0xffff) {
if($val == 0xff || $val == 0xffff || $val == 0) {
print " Failed!\n";
} else {
printf " Failed! (0x%02x)\n", $val;