diff mbox

fix paaudio.c warnings

Message ID 1335370781-5318-1-git-send-email-kraxel@redhat.com
State New
Headers show

Commit Message

Gerd Hoffmann April 25, 2012, 4:19 p.m. UTC
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 audio/paaudio.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Comments

malc April 25, 2012, 5:05 p.m. UTC | #1
On Wed, 25 Apr 2012, Gerd Hoffmann wrote:

Thanks. Applied.
diff mbox

Patch

diff --git a/audio/paaudio.c b/audio/paaudio.c
index e6708d0..aa15f16 100644
--- a/audio/paaudio.c
+++ b/audio/paaudio.c
@@ -505,8 +505,7 @@  fail:
         pa_stream_unref (stream);
     }
 
-    qpa_logerr (pa_context_errno (g->context),
-                "stream_new() failed\n");
+    *rerror = pa_context_errno (g->context);
 
     return NULL;
 }