From 2ddb41874d94a925828bf3cd042b4f3f77897343 Mon Sep 17 00:00:00 2001 From: Nithya Balachandran Date: Fri, 10 Jul 2015 14:00:33 +0530 Subject: logging: Fixed incorrect buffer size An incorrect buffer size passed in to_gf_msg_backtrace prevented the callers from being logged. Change-Id: If1ddc5cd9317b55d9884f26cfddd0b0f86e7a7b2 BUG: 1241841 Signed-off-by: Nithya Balachandran Reviewed-on: http://review.gluster.org/11615 Tested-by: Gluster Build System Tested-by: NetBSD Build System Reviewed-by: Atin Mukherjee Reviewed-by: Kaushal M --- libglusterfs/src/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c index 44f5cd2cff5..588edb491e6 100644 --- a/libglusterfs/src/logging.c +++ b/libglusterfs/src/logging.c @@ -2061,7 +2061,7 @@ _gf_msg (const char *domain, const char *file, const char *function, if (trace) { ret = _gf_msg_backtrace (GF_LOG_BACKTRACE_DEPTH, callstr, - GF_LOG_BACKTRACE_DEPTH); + GF_LOG_BACKTRACE_SIZE); if (ret >= 0) passcallstr = 1; else -- cgit