summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mount')
-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);
}
}