]> git.alsa-project.org Git - alsa-lib.git/commitdiff
include: fix typo in error.h to avoid compile error when gcc <= 2.95 master
authorSimonQian <vsfos@qq.com>
Wed, 19 Nov 2025 06:46:45 +0000 (14:46 +0800)
committerJaroslav Kysela <perex@perex.cz>
Fri, 5 Dec 2025 09:09:01 +0000 (10:09 +0100)
Closes: https://github.com/alsa-project/alsa-lib/pull/483
Signed-off-by: SimonQian <vsfos@qq.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/error.h

index ce3582bff13db56005abe191dc35c2bc87c2c06b..042cf1575f5b7ca108da9ffa0eba4a93cbf4c530 100644 (file)
@@ -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
 
 /**