config: do not print errno in snd_config_check_hop()

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2025-11-06 16:03:36 +01:00
parent 62c8e635dc
commit 524081b4d6

View file

@ -5800,7 +5800,7 @@ int snd_config_check_hop(snd_config_t *conf)
{
if (conf) {
if (conf->hop >= SND_CONF_MAX_HOPS) {
snd_errornum(CORE, "Too many definition levels (looped?)\n");
snd_error(CORE, "Too many definition levels (looped?)\n");
return -EINVAL;
}
return conf->hop;