use getMountPoint rather than getFileSystem in getMountedFileSystemUsage
This commit is contained in:
parent
70ce28deec
commit
083414a22a
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue