Index: third_party/tcmalloc/chromium/src/raw_printer.cc |
=================================================================== |
--- third_party/tcmalloc/chromium/src/raw_printer.cc (revision 87277) |
+++ third_party/tcmalloc/chromium/src/raw_printer.cc (working copy) |
@@ -54,7 +54,7 @@ |
int avail = limit_ - ptr_; |
// We pass avail+1 to vsnprintf() since that routine needs room |
// to store the trailing \0. |
- const int r = vsnprintf(ptr_, avail+1, format, ap); |
+ const int r = perftools_vsnprintf(ptr_, avail+1, format, ap); |
va_end(ap); |
if (r < 0) { |
// Perhaps an old glibc that returns -1 on truncation? |