mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 13:57:41 +00:00
Sort-of fix for the output-error-for-opening-i2c%d-when-i2c-%d-failed
buglet (it does not output any error information anymore...) git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@861 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -1241,7 +1241,7 @@ sub scan_adapter
|
||||
|
||||
open FILE,"/dev/i2c-$adapter_nr" or
|
||||
open FILE,"/dev/i2c$adapter_nr" or
|
||||
(print "Can't open /dev/i2c[-]$adapter_nr ($!)\n"), return;
|
||||
(print "Can't open /dev/i2c[-]$adapter_nr\n"), return;
|
||||
|
||||
# Now scan each address in turn
|
||||
foreach $addr (0..0x7f) {
|
||||
|
Reference in New Issue
Block a user