From 129e5669015a7ffd78d0f665f46cc434bcf126d2 Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 27 Jan 2026 04:15:32 +0100 Subject: TinyCC (libtcc) backend for catboot Signed-off-by: Mel --- boot/catboot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'boot/catboot.c') diff --git a/boot/catboot.c b/boot/catboot.c index db100dd..e78a401 100644 --- a/boot/catboot.c +++ b/boot/catboot.c @@ -22,7 +22,7 @@ #include "catboot.h" -#define VERSION "0.0.0" +#define CATBOOT_VERSION "0.0.0" struct String read_file(const ascii* path) @@ -66,7 +66,7 @@ version(void) { fprintf( stderr, - "catboot (catskill), version " VERSION "\n" + "catboot (catskill), version " CATBOOT_VERSION "\n" "\n" "This program's source code is subject to the terms of the Mozilla Public\n" "License, v. 2.0. If a copy of the MPL was not distributed with this\n" @@ -265,7 +265,7 @@ default_command(struct Command_Arguments* arguments) if (!build_result.success) { log_error("backend failure with exit code %ld\n", build_result.compiler_exit_code); log_error( - "compiler output:\n%.*s\n", (int)build_result.compiler_log.length, + "compiler output:\n%.*s", (int)build_result.compiler_log.length, build_result.compiler_log.data); return COMMAND_FAIL; -- cgit 1.4.1