From 7aeb9a759e131151b42adc8d0ed730711d028446 Mon Sep 17 00:00:00 2001 From: SimonQian Date: Wed, 19 Nov 2025 14:46:45 +0800 Subject: [PATCH] include: fix typo in error.h to avoid compile error when gcc <= 2.95 Closes: https://github.com/alsa-project/alsa-lib/pull/483 Signed-off-by: SimonQian Signed-off-by: Jaroslav Kysela --- include/error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/error.h b/include/error.h index ce3582bf..042cf157 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 /** -- 2.47.3