use getMountPoint rather than getFileSystem in getMountedFileSystemUsage

This commit is contained in:
Doug MacEachern 2005-05-11 00:23:42 +00:00
parent 70ce28deec
commit 083414a22a
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ public class Sigar implements SigarProxy {
public FileSystemUsage getMountedFileSystemUsage(String name)
throws SigarException, NfsUnreachableException {
FileSystem fs = getFileSystemMap().getMountPoint(name);
FileSystem fs = getFileSystemMap().getFileSystem(name);
if (fs == null) {
throw new SigarException(name + " is not a mounted filesystem");