From 3df266c278ab74c6bf1980bd17a545595bd04344 Mon Sep 17 00:00:00 2001 From: Bharat Shetty Barkur Date: Sun, 22 Mar 2009 13:57:37 -0400 Subject: 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 --- libglusterfs/src/dict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index f6ddde45e..22e350e0e 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; } -- cgit