From 73428c9d7b30b9c4843fdadb62749ebb451115cb Mon Sep 17 00:00:00 2001 From: Frodo Looijaard Date: Fri, 18 Aug 2000 01:01:15 +0000 Subject: [PATCH] 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 --- prog/detect/sensors-detect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 990ceb88..8c9e99cd 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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) {