summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/quota-common-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/quota-common-utils.c b/libglusterfs/src/quota-common-utils.c
index 0c93303a5ae..5e688e50856 100644
--- a/libglusterfs/src/quota-common-utils.c
+++ b/libglusterfs/src/quota-common-utils.c
@@ -92,7 +92,7 @@ int32_t
quota_dict_set_meta (dict_t *dict, char *key, const quota_meta_t *meta,
ia_type_t ia_type)
{
- int32_t ret = -1;
+ int32_t ret = -ENOMEM;
quota_meta_t *value = NULL;
value = GF_CALLOC (1, sizeof (quota_meta_t), gf_common_quota_meta_t);