From: Brian Aker Date: Mon, 26 Nov 2012 07:15:23 +0000 (-0500) Subject: Fix bad fprintf call. X-Git-Tag: 1.0.15~14^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=5e309ba6981d6c210ca13a85091615c2ffe7b0f3;p=awesomized%2Flibmemcached Fix bad fprintf call. --- 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]); } }