From 5134d1b9745f7ce7611d02a6908c83636fb040c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Fri, 6 Jan 2023 16:33:25 +0100 Subject: [PATCH] Fix print_warn() macro --- include/patchelfcrc/reporting.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/patchelfcrc/reporting.h b/include/patchelfcrc/reporting.h index e6a3cb2..73ceef6 100644 --- a/include/patchelfcrc/reporting.h +++ b/include/patchelfcrc/reporting.h @@ -22,7 +22,8 @@ #include #define print_err(fmt, ...) fprintf(stderr, "[ERR] " fmt, ## __VA_ARGS__) -#define print_warn(fmt, ...) fprintf(stderr, "[WARN] " fmt, ## __VAR__ARGS__) + +#define print_warn(fmt, ...) fprintf(stderr, "[WARN] " fmt, ## __VA_ARGS__) void print_debug(const char *fmt, ...);