summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 243703786e9..65bd4044164 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -9260,7 +9260,7 @@ glusterd_validate_and_set_gfid (dict_t *op_ctx, dict_t *req_dict,
gf_asprintf (op_errstr, "Failed to get trusted.gfid attribute "
"on path %s. Reason : %s", path,
strerror (ENOENT));
- ret = -1;
+ ret = -ENOENT;
goto out;
}