diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-mountbroker.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-mountbroker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-mountbroker.c b/xlators/mgmt/glusterd/src/glusterd-mountbroker.c index 8554db03173..c205b911d8e 100644 --- a/xlators/mgmt/glusterd/src/glusterd-mountbroker.c +++ b/xlators/mgmt/glusterd/src/glusterd-mountbroker.c @@ -281,7 +281,7 @@ make_georep_mountspec (gf_mount_spec_t *mspec, const char *volnames, if (*p == ',') vc++; } - siz = strlen (volnames) + vc * strlen("volfile-id="); + siz = strlen (volnames) + vc * SLEN ("volfile-id="); meetspec = GF_CALLOC (1, siz + 1, gf_gld_mt_georep_meet_spec); if (!meetspec) goto out; |