diff options
Diffstat (limited to 'src/error-handler.cc')
-rw-r--r-- | src/error-handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error-handler.cc b/src/error-handler.cc index d6328870..86d42b9a 100644 --- a/src/error-handler.cc +++ b/src/error-handler.cc @@ -40,9 +40,9 @@ std::string ErrorHandler::DefaultErrorMessage(const Color& color, } if (location_type_ == Location::Type::Text) { - result += string_printf("%d:%d: ", loc.line, loc.first_column); + result += StringPrintf("%d:%d: ", loc.line, loc.first_column); } else if (loc.offset != kInvalidOffset) { - result += string_printf("%07" PRIzx ": ", loc.offset); + result += StringPrintf("%07" PRIzx ": ", loc.offset); } result += color.MaybeRedCode(); |