summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 964c380f9..759e6fc66 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -181,7 +181,7 @@ sub remove_initscript() {
sub use_windows {
my ($file) = @_;
- my $all_hds = fsedit::get_hds({}, undef);
+ my $all_hds = fsedit::get_hds();
fs::get_info_from_fstab($all_hds);
if (my $part = find { $_->{device_windobe} eq 'C' } fs::get::fstab($all_hds)) {
my $source = find { -d $_ && -r "$_/$file" } map { "$part->{mntpoint}/$_" } qw(windows/system winnt/system windows/system32/drivers winnt/system32/drivers);