minor change

This commit is contained in:
Felix Müller 2024-06-05 21:20:21 +02:00
parent b8660c1595
commit 069369ca61
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ void print_diagnostic(ModuleFile *file, TokenLocation *location, Message kind, c
printf("%s%s:%ld:%s %s%s:%s ", BOLD, absolute_path, location->line_start, RESET, accent_color, kind_text, RESET);
va_list args;
va_start(args, format);
va_start(args, message);
vprintf(message, args);