summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 89d41b516..1be6d4f95 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -595,7 +595,7 @@ sub df {
my ($blocksize, $size, $free);
my $buf = ' ' x 20000;
syscall_('statfs', $mntpoint, $buf) or return;
- (undef, $blocksize, $size, undef, $free, undef) = unpack "L2L4", $buf;
+ (undef, $blocksize, $size, $free, undef, undef) = unpack "L6", $buf;
map { $_ * ($blocksize / 1024) } $size, $free;
}