diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2013-02-21 16:22:38 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-03-04 00:21:45 -0800 |
commit | 6a303c8b9ce01d17453914841f5b61bf9daf91ac (patch) | |
tree | a86230cc8826838a25c2b075cc5c7f5d94aeeb4d /xlators | |
parent | eb3b05581e2533f89df04ea75f5c4247045f07dc (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/4563
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 2 |
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 29c03d6961e..7d84e664de7 100644 --- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c +++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c @@ -2405,7 +2405,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; } |