fix paaudio.c warnings

Submitted by Gerd Hoffmann on April 25, 2012, 4:19 p.m.

Details

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.
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.
On Wed, 25 Apr 2012, Gerd Hoffmann wrote:

Thanks. Applied.

Patch hide | download patch | download mbox

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;
 }