Corrected message

This commit is contained in:
Abramo Bagnara 2001-06-06 14:24:10 +00:00
parent 363a4a4c25
commit c9510a21da

View file

@ -581,7 +581,7 @@ static int config_enumerated(snd_config_t *n, snd_ctl_t *handle,
snd_ctl_elem_info_set_item(info, idx); snd_ctl_elem_info_set_item(info, idx);
err = snd_ctl_elem_info(handle, info); err = snd_ctl_elem_info(handle, info);
if (err < 0) { if (err < 0) {
error("snd_ctl_card_info: %s", snd_strerror(err)); error("snd_ctl_elem_info: %s", snd_strerror(err));
return err; return err;
} }
if (strcmp(str, snd_ctl_elem_info_get_item_name(info)) == 0) if (strcmp(str, snd_ctl_elem_info_get_item_name(info)) == 0)