From 5e309ba6981d6c210ca13a85091615c2ffe7b0f3 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Mon, 26 Nov 2012 02:15:23 -0500 Subject: [PATCH] Fix bad fprintf call. --- libmemcached/backtrace.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmemcached/backtrace.cc b/libmemcached/backtrace.cc index 782ea6a9..e171fbeb 100644 --- a/libmemcached/backtrace.cc +++ b/libmemcached/backtrace.cc @@ -101,7 +101,7 @@ void custom_backtrace(void) } was_demangled= true; - fprintf(stderr, "#%d %lp in %s at %s\n", + fprintf(stderr, "#%d %p in %s at %s\n", x, backtrace_buffer[x], called_in, dlinfo.dli_fname); @@ -112,7 +112,7 @@ void custom_backtrace(void) if (was_demangled == false) { - fprintf(stderr, "?%d %lp in %s\n", x, backtrace_buffer[x], symbollist[x]); + fprintf(stderr, "?%d %p in %s\n", x, backtrace_buffer[x], symbollist[x]); } } -- 2.30.2