summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2009-08-17 03:55:02 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-08-17 14:38:14 -0700
commit9906bd585419a77259f192edb2fbf0fb8e04cf7f (patch)
tree31bc3ef4e680836e5be625546192f0560af987fb /xlators/mount/fuse
parent63218f025ee679babcf0ed916f9e43fc58d91aee (diff)
fuse: don't say "Success" when mount fails
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 219 (Error message incorrect when fuse_mount() fails) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=219
Diffstat (limited to 'xlators/mount/fuse')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 296fd0799..9d358984b 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -2737,9 +2737,10 @@ init (xlator_t *this_xl)
priv->mount_point);
} else {
gf_log ("glusterfs-fuse", GF_LOG_DEBUG,
- "fuse_mount() failed with error %s "
+ "fuse_mount() failed%s%s "
"on mount point %s",
- strerror (errno),
+ errno ? " with error " : "",
+ errno ? strerror (errno) : "",
priv->mount_point);
}
}