diff options
author | Laurentiu Nicola <grayshade@gmail.com> | 2013-08-08 12:29:09 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-08-08 12:29:09 +0200 |
commit | d469ebe2efe514ce10511dfdff852063030d658d (patch) | |
tree | 8aef5adf487153ce492339aad09fe918b23ba2ac | |
parent | 994ab14b401b2873c5f927215bbb86fe6f6335fc (diff) | |
download | alsa-lib-d469ebe2efe514ce10511dfdff852063030d658d.tar.gz |
pcm: Fix a wrong value shown in the error message in rate plugin
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | src/pcm/pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |