mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
Don't sort the same list twice.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4611 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -3121,7 +3121,7 @@ sub scan_adapter
|
|||||||
if (@chips) {
|
if (@chips) {
|
||||||
print ", other addresses:";
|
print ", other addresses:";
|
||||||
@chips = sort @chips;
|
@chips = sort @chips;
|
||||||
foreach $other_addr (sort @chips) {
|
foreach $other_addr (@chips) {
|
||||||
printf(" 0x%02x",$other_addr);
|
printf(" 0x%02x",$other_addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user