Patchwork fix paaudio.c warnings

login
register
mail settings
Submitter Gerd Hoffmann
Date April 25, 2012, 4:19 p.m.
Message ID <1335370781-5318-1-git-send-email-kraxel@redhat.com>
Download mbox | patch
Permalink /patch/155032/
State New
Headers show

Comments

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(-)
malc - April 25, 2012, 5:05 p.m.
On Wed, 25 Apr 2012, Gerd Hoffmann wrote:

Thanks. Applied.

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