summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index f2c5c3ff2..4696b6ca3 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -3593,7 +3593,7 @@ stop_gsync (char *master, char *slave, char **op_errstr)
pid_t pid = 0;
FILE *file = NULL;
char pidfile[PATH_MAX] = {0,};
- char buf [256] = {0,};
+ char buf [1024] = {0,};
ret = gsync_status (master, slave, &status);
if (ret == 0 && status == -1) {