summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index ec5ad2e1e7f..d368e5c98aa 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -1045,7 +1045,7 @@ __write_distribute_xlator (FILE *file, dict_t *dict,
}
for (i = 0; i < dist_count ; i++) {
- snprintf (tmp, 4096, "%s-%d", subvolume, i);
+ snprintf (tmp, 4096, "%s-%d ", subvolume, i);
strncat (subvol_str, tmp, strlen (tmp));
}