Fix bad fprintf call.
authorBrian Aker <brian@tangent.org>
Mon, 26 Nov 2012 07:15:23 +0000 (02:15 -0500)
committerBrian Aker <brian@tangent.org>
Mon, 26 Nov 2012 07:15:23 +0000 (02:15 -0500)
libmemcached/backtrace.cc

index 782ea6a91f80d87e3cbca63cb8d62e269d2e85ba..e171fbeba360b30142083e4c4769944379e5ba79 100644 (file)
@@ -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]);
         }
       }