summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/detect_devices.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 2b3ba711b..ffd7de214 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1154,7 +1154,7 @@ Cache the result of c::dmi_probe() (aka C<dmidecode>) and return the list of ite
sub dmi_probe() {
state $dmi_probe;
if (arch() !~ /86/) {
- return ();
+ return;
}
$dmi_probe ||= $> ? [] : [ c::dmi_probe() ];
@$dmi_probe;
.gz'>drakx-cb5959e3f804f0d4eba366c56aa66a268324d7b6.tar.gz
drakx-cb5959e3f804f0d4eba366c56aa66a268324d7b6.tar.bz2
drakx-cb5959e3f804f0d4eba366c56aa66a268324d7b6.tar.xz
drakx-cb5959e3f804f0d4eba366c56aa66a268324d7b6.zip
fix previous commit
Diffstat (limited to 'perl-install/partition_table')
-rw-r--r--perl-install/partition_table/raw.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table/raw.pm b/perl-install/partition_table/raw.pm
index 06bdf8378..6edc26507 100644
--- a/perl-install/partition_table/raw.pm
+++ b/perl-install/partition_table/raw.pm
@@ -142,7 +142,7 @@ sub get_geometries {
} @hds);
- my %id2edd = keep_non_duplicates(map { [ chomp_(scalar cat_("$_/mbr_signature")), $_ ] } glob("/sys/firmware/edd/int13_dev*"));
+ my %id2edd = keep_non_duplicates(map { [ scalar(chomp_(cat_("$_/mbr_signature"))), $_ ] } glob("/sys/firmware/edd/int13_dev*"));
log::l("id2hd: " . join(' ', map_each { "$::a=>$::b->{device}" } %id2hd));
log::l("id2edd: " . join(' ', map_each { "$::a=>$::b" } %id2edd));