summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-syncop.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-syncop.h')
-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 c8303a04d5e..f3425c2f538 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)