summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libglusterfs/src/dict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c
index d8c145da6d5..9dd1de4f81a 100644
--- a/libglusterfs/src/dict.c
+++ b/libglusterfs/src/dict.c
@@ -2417,7 +2417,7 @@ dict_get_gfuuid (dict_t *this, char *key, uuid_t *gfid)
goto err;
}
- VALIDATE_DATA_AND_LOG(data, GF_DATA_TYPE_GFUUID, -EINVAL);
+ VALIDATE_DATA_AND_LOG(data, GF_DATA_TYPE_GFUUID, key, -EINVAL);
memcpy (*gfid, data->data, min(data->len, sizeof (uuid_t)));
@@ -2449,7 +2449,7 @@ dict_get_iatt (dict_t *this, char *key, struct iatt *iatt)
goto err;
}
- VALIDATE_DATA_AND_LOG(data, GF_DATA_TYPE_IATT, -EINVAL);
+ VALIDATE_DATA_AND_LOG(data, GF_DATA_TYPE_IATT, key, -EINVAL);
memcpy (iatt, data->data, min(data->len, sizeof (struct iatt)));