mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 12:46:31 +01:00
Little fix..
This commit is contained in:
parent
b211f9a8af
commit
fc7f1865ca
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ int soundcard_setup_collect( int cardno )
|
||||||
if ( (err = snd_ctl_switch_read( handle, idx, &ctl -> s )) < 0 ) {
|
if ( (err = snd_ctl_switch_read( handle, idx, &ctl -> s )) < 0 ) {
|
||||||
free( ctl );
|
free( ctl );
|
||||||
snd_ctl_close( handle );
|
snd_ctl_close( handle );
|
||||||
error( "CTL switch read error (%s) - skipping" );
|
error( "CTL switch read error (%s) - skipping", snd_strerror( err ) );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ( !ctlprev ) {
|
if ( !ctlprev ) {
|
||||||
|
|
Loading…
Reference in a new issue