adjust to api change

This commit is contained in:
Doug MacEachern 2004-07-21 20:04:31 +00:00
parent ba40ec3b41
commit 8d652277a5
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ print "Filesytem\tSize\tUsed\tAvail\tUse%\tMounted on\tType\n";
for my $fs (@$fslist) { for my $fs (@$fslist) {
my $dirname = $fs->dir_name; my $dirname = $fs->dir_name;
my $usage = $sigar->filesystemusage($dirname); my $usage = $sigar->file_system_usage($dirname);
my $total = $usage->total; my $total = $usage->total;
my $used = $total - $usage->free; my $used = $total - $usage->free;