From 160e539e26ed1e17a0c2cad97dd28cc8cbce9d6d Mon Sep 17 00:00:00 2001 From: Nithya Balachandran Date: Fri, 3 Jul 2015 15:12:23 +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: I86104d6b3f611455308d5b3420dfb6d456070a23 BUG: 1238952 Signed-off-by: Nithya Balachandran Reviewed-on: http://review.gluster.org/11521 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Raghavendra G Reviewed-by: Pranith Kumar Karampuri --- libglusterfs/src/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/logging.c') diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c index 9a4e7b65fe8..70149a2fd3c 100644 --- a/libglusterfs/src/logging.c +++ b/libglusterfs/src/logging.c @@ -2056,7 +2056,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