]> code.delx.au - pulseaudio/commit
alsa: Set return code before printing it.
authorDylan Reid <dgreid@chromium.org>
Wed, 26 Oct 2011 03:34:31 +0000 (20:34 -0700)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Wed, 26 Oct 2011 14:19:45 +0000 (16:19 +0200)
commit77a68b56ab1c70a0e0c670213431e6908311db47
treeb1d400d027ce855ebcb0f9addcd0a28653bb462c
parenta3678d241b9acc259518225a89eac26ce718f93e
alsa: Set return code before printing it.

The error message for snd_pcm_hw_params_set_period_wakeup was
printing "ret", but "ret" wasn't being set.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
src/modules/alsa/alsa-util.c