2
0
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:
Frodo Looijaard
2000-08-18 01:01:15 +00:00
parent c9575375a6
commit 73428c9d7b

View File

@@ -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) {