[vm] Update to variadic FATAL.
TEST=ci Change-Id: Ic6bc784605e10760bb28ea6df34242336a33b4d0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286947 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
committed by
Commit Queue
parent
c9e29fa85f
commit
63e6041ca9
@@ -33,7 +33,7 @@ int Utils::SNPrint(char* str, size_t size, const char* format, ...) {
|
||||
int Utils::VSNPrint(char* str, size_t size, const char* format, va_list args) {
|
||||
int retval = vsnprintf(str, size, format, args);
|
||||
if (retval < 0) {
|
||||
FATAL1("Fatal error in Utils::VSNPrint with format '%s'", format);
|
||||
FATAL("Fatal error in Utils::VSNPrint with format '%s'", format);
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user