From: SimonQian Date: Wed, 19 Nov 2025 06:46:45 +0000 (+0800) Subject: include: fix typo in error.h to avoid compile error when gcc <= 2.95 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=HEAD;p=alsa-lib.git 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 --- 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 /**