summaryrefslogtreecommitdiffstats
path: root/lib/MDK/Common/System.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDK/Common/System.pm')
-rw-r--r--lib/MDK/Common/System.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MDK/Common/System.pm b/lib/MDK/Common/System.pm
index bd13629..776c888 100644
--- a/lib/MDK/Common/System.pm
+++ b/lib/MDK/Common/System.pm
@@ -308,7 +308,7 @@ sub syscall_ {
sub df {
my ($mntpoint) = @_;
require Filesys::Df;
- my $df = Filesys::Df::df("/", 1024); # ask 1kb values
+ my $df = Filesys::Df::df($mntpoint, 1024); # ask 1kb values
@$df{qw(blocks bfree)};
}