From: Laurentiu Nicola Date: Thu, 8 Aug 2013 10:29:09 +0000 (+0200) Subject: pcm: Fix a wrong value shown in the error message in rate plugin X-Git-Tag: v1.0.28~52 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=d469ebe2efe514ce10511dfdff852063030d658d;p=alsa-lib.git pcm: Fix a wrong value shown in the error message in rate plugin Signed-off-by: Takashi Iwai --- diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index ca4d416f..c54fa069 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -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 */