mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-11 13:30:05 -05:00
config: do not print errno in snd_config_check_hop()
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
62c8e635dc
commit
524081b4d6
1 changed files with 1 additions and 1 deletions
|
|
@ -5800,7 +5800,7 @@ int snd_config_check_hop(snd_config_t *conf)
|
||||||
{
|
{
|
||||||
if (conf) {
|
if (conf) {
|
||||||
if (conf->hop >= SND_CONF_MAX_HOPS) {
|
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 -EINVAL;
|
||||||
}
|
}
|
||||||
return conf->hop;
|
return conf->hop;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue