diff --git a/bindings/java/src/net/hyperic/sigar/Sigar.java b/bindings/java/src/net/hyperic/sigar/Sigar.java index 154668e7..c9172d95 100644 --- a/bindings/java/src/net/hyperic/sigar/Sigar.java +++ b/bindings/java/src/net/hyperic/sigar/Sigar.java @@ -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");