From 083414a22a2563d96a55938eed1209c3e4315eba Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 11 May 2005 00:23:42 +0000 Subject: [PATCH] use getMountPoint rather than getFileSystem in getMountedFileSystemUsage --- bindings/java/src/net/hyperic/sigar/Sigar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");