summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorBharat Shetty Barkur <bharat.shetty@gmail.com>2009-03-22 13:57:37 -0400
committerAnand V. Avati <avati@amp.gluster.com>2009-03-26 16:28:28 +0530
commit3df266c278ab74c6bf1980bd17a545595bd04344 (patch)
tree9da267874bcd77cc74558dfbea573aea138d0821 /libglusterfs
parent4e5c297d7c3480d0d3ab1c0c2a184c6a4fb801ef (diff)
Changed the gf_log warning for return of null via CALLOC from 'old' to 'newdata'
Fixed the warning message to be more clearer for return of the null by CALLOC, by changing old to newdata. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c
index f6ddde45e14..22e350e0e9a 100644
--- a/libglusterfs/src/dict.c
+++ b/libglusterfs/src/dict.c
@@ -161,7 +161,7 @@ data_copy (data_t *old)
if (!newdata) {
gf_log ("dict", GF_LOG_CRITICAL,
- "@old is NULL");
+ "@newdata - NULL returned by CALLOC");
return NULL;
}