summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-syncop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-syncop.h b/xlators/mgmt/glusterd/src/glusterd-syncop.h
index 87a3c76f9fb..1163677d626 100644
--- a/xlators/mgmt/glusterd/src/glusterd-syncop.h
+++ b/xlators/mgmt/glusterd/src/glusterd-syncop.h
@@ -33,6 +33,9 @@
(xdrproc_t)xdrproc); \
if (!ret) \
synctask_yield (stb->task); \
+ else \
+ gf_asprintf (&stb->errstr, "%s failed. Check log file" \
+ " for more details", (prog)->progname); \
synclock_lock (&conf->big_lock); \
} while (0)