summaryrefslogtreecommitdiff
path: root/src/raw_printer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/raw_printer.cc')
-rw-r--r--src/raw_printer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raw_printer.cc b/src/raw_printer.cc
index 019555a..730d6e2 100644
--- a/src/raw_printer.cc
+++ b/src/raw_printer.cc
@@ -54,7 +54,7 @@ void RawPrinter::Printf(const char* format, ...) {
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?