From 57c0250c44eb82a04e3250390d6f54b2c9c0f575 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Sat, 14 Mar 2026 13:43:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20warn=20=E5=AE=8F?= =?UTF-8?q?=E8=B0=83=E9=94=99=E5=86=85=E9=83=A8=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.h b/src/utils.h index 71ac8c2..3b46eeb 100644 --- a/src/utils.h +++ b/src/utils.h @@ -84,7 +84,7 @@ void _fatal(int line, const char *function, const char *file, __attribute__((format(printf, 4, 5))); #define warn(format, ...) \ - _fatal(__LINE__, __FUNCTION__, __FILE__, format, ##__VA_ARGS__) + _warn(__LINE__, __FUNCTION__, __FILE__, format, ##__VA_ARGS__) void _warn(int line, const char *function, const char *file, const char *format, ...) __attribute__((format(printf, 4, 5)));