pcm: Fix a wrong value shown in the error message in rate plugin

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Laurentiu Nicola 2013-08-08 12:29:09 +02:00 committed by Takashi Iwai
parent 994ab14b40
commit d469ebe2ef

View file

@ -7932,7 +7932,7 @@ int snd_pcm_set_params(snd_pcm_t *pcm,
return err;
}
if (rrate != rate) {
SNDERR("Rate doesn't match (requested %iHz, get %iHz)", rate, err);
SNDERR("Rate doesn't match (requested %iHz, get %iHz)", rate, rrate);
return -EINVAL;
}
/* set the buffer time */