summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2013-02-21 16:22:38 +0530
committerVijay Bellur <vbellur@redhat.com>2013-02-21 06:26:42 -0800
commit673287ae4d265f67a445dedb8ace38b06e72dff7 (patch)
treedebc96cec8da4e81f925b5c7406d5eb93410e07e /xlators
parent96c61c5512daca3b9f67aec612a53241572fabbf (diff)
glusterd: use gf_strdup() in place of strdup()
Change-Id: Idee71019dbc6eeaa0a808d671b29d6f3038a1a89 BUG: 913487 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/4562 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators')
-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 c901d613623..4e4f0394de3 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -2430,7 +2430,7 @@ glusterd_dict_set_volid (dict_t *dict, char *volname, char **op_errstr)
out:
if (msg[0] != '\0') {
gf_log (this->name, GF_LOG_ERROR, "%s", msg);
- *op_errstr = strdup (msg);
+ *op_errstr = gf_strdup (msg);
}
return ret;
}