[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:
Ryan Macnak
2023-03-06 22:06:59 +00:00
committed by Commit Queue
parent c9e29fa85f
commit 63e6041ca9
78 changed files with 295 additions and 308 deletions
+1 -1
View File
@@ -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;
}