summaryrefslogtreecommitdiffstats
path: root/perl-install/unused
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/unused')
-rw-r--r--perl-install/unused/scsi.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/unused/scsi.pm b/perl-install/unused/scsi.pm
index 8e20f7d70..bd0df92b1 100644
--- a/perl-install/unused/scsi.pm
+++ b/perl-install/unused/scsi.pm
@@ -61,7 +61,7 @@ sub ideGetDevices {
#- Great. 2.2 kernel, things are much easier and less error prone.
foreach my $d (glob_('/proc/ide/hd*')) {
my ($t) = chomp_(cat_("$d/media"));
- my $type = $ {{disk => 'hd', cdrom => 'cdrom', tape => 'tape', floppy => 'fd'}}{$t} or next;
+ my $type = ${{ disk => 'hd', cdrom => 'cdrom', tape => 'tape', floppy => 'fd' }}{$t} or next;
my ($info) = chomp_(cat_("$d/model")); $info ||= "(none)";
my $num = ord (($d =~ /(.)$/)[0]) - ord 'a';