summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/harddrake/data.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index a9982d34f..7f51a0beb 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -75,7 +75,7 @@ our @tree =
string => N("Disk"),
icon => "harddisk.png",
configurator => "$sbindir/diskdrake",
- detector => \&detect_devices::hds,
+ detector => sub { f(detect_devices::hds()) },
checked_on_boot => 1,
},