From 761caf78c24debb80cdcbbff2000fd6d04882611 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 2 Dec 2008 17:56:33 +0000 Subject: [PATCH] Minor fixes to the previous commit. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5501 7894878c-1315-0410-8ee3-d5d059ff63e0 --- prog/detect/sensors-detect | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index 85863fc1..421f2378 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -2703,7 +2703,6 @@ sub probe_free_i2c_address } # $_[0]: The number of the adapter to scan -# $_[1]: Addresses not to scan (array reference) sub scan_i2c_adapter { my ($adapter_nr) = @_; @@ -2723,7 +2722,6 @@ sub scan_i2c_adapter chomp($input); @not_to_scan = parse_not_to_scan(0x03, 0x77, $input); } - print "\n"; open(local *FILE, "$dev_i2c$adapter_nr") or (print "Can't open $dev_i2c$adapter_nr\n"), return; @@ -2774,6 +2772,7 @@ sub scan_i2c_adapter } $| = 0; } + print "\n"; } sub scan_isa_bus