From 069369ca61644fe68724727e1ba46ab7c01d9e5a Mon Sep 17 00:00:00 2001 From: Filleo Date: Wed, 5 Jun 2024 21:20:21 +0200 Subject: [PATCH] minor change --- src/io/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/files.c b/src/io/files.c index d091d06..6e5ab34 100644 --- a/src/io/files.c +++ b/src/io/files.c @@ -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);