disks: fix warnings
This commit is contained in:
committed by
Dietmar Maurer
parent
f32c7ebfa0
commit
d57fb43d9b
@ -301,7 +301,7 @@ sub get_wear_leveling_info {
|
||||
|
||||
my $attrid;
|
||||
|
||||
foreach my $vendor (keys $vendormap) {
|
||||
foreach my $vendor (keys %$vendormap) {
|
||||
if ($model =~ m/$vendor/i) {
|
||||
$attrid = $vendormap->{$vendor};
|
||||
# found the attribute
|
||||
|
||||
Reference in New Issue
Block a user