From 6a1f299636fc3620f7f7d50d478944e7da005759 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 15 Mar 2005 18:46:02 +0000 Subject: [PATCH] use nfs.getUnreachableMessage() --- bindings/java/src/net/hyperic/sigar/cmd/Df.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/java/src/net/hyperic/sigar/cmd/Df.java b/bindings/java/src/net/hyperic/sigar/cmd/Df.java index 33264a7f..f4f20075 100644 --- a/bindings/java/src/net/hyperic/sigar/cmd/Df.java +++ b/bindings/java/src/net/hyperic/sigar/cmd/Df.java @@ -96,8 +96,7 @@ public class Df extends SigarCommandBase { if (fs instanceof NfsFileSystem) { NfsFileSystem nfs = (NfsFileSystem)fs; if (!nfs.ping()) { - println(fs.getDevName() + - " !!! nfs server is down !!!"); + println(nfs.getUnreachableMessage()); return; } }