mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +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:
1 parent
c9575375a6
commit
73428c9d7b
1 file changed
+1
-1
@@ -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