From 468e0f60bcd2e88d2e96c4dc5dbecd56f7172b40 Mon Sep 17 00:00:00 2001 From: SimonQian Date: Wed, 19 Nov 2025 14:46:45 +0800 Subject: [PATCH] fix typo in error.h to avoid compile error when gcc <= 2.95 --- include/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/error.h b/include/error.h index ce3582bff..042cf1575 100644 --- a/include/error.h +++ b/include/error.h @@ -111,7 +111,7 @@ const char *snd_lib_log_interface(int interface); #define snd_debug(interface, args...) snd_lib_log(SND_LOG_DEBUG, SND_ILOG_##interface, __FILE__, __LINE__, __func__, 0, ##args) /**< Shows an error log message. */ #define snd_trace(interface, args...) snd_lib_log(SND_LOG_TRACE, SND_ILOG_##interface, __FILE__, __LINE__, __func__, 0, ##args) /**< Shows an trace log message. */ #define snd_check(interface, args...) snd_lib_check(SND_ILOG_##interface, __FILE__, __LINE__, __func__, 0, ##args) /**< Shows an check log message. */ -#define snd_check(interface, args...) snd_lib_check(SND_ILOG_##interface, __FILE__, __LINE__, __func__, errno, ##args) /**< Shows an check log message (related to \c errno). */ +#define snd_checknum(interface, args...) snd_lib_check(SND_ILOG_##interface, __FILE__, __LINE__, __func__, errno, ##args) /**< Shows an check log message (related to \c errno). */ #endif /**