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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user