From 27846b7eceb2bbbc539d40ab7a8df0aea3fc4ec1 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Sun, 14 Jul 2002 18:21:25 +0000 Subject: [PATCH] error output fix Original commit message from CVS: error output fix --- ext/alsa/gstalsa.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/alsa/gstalsa.c b/ext/alsa/gstalsa.c index 749152ff5c..efe396a068 100644 --- a/ext/alsa/gstalsa.c +++ b/ext/alsa/gstalsa.c @@ -1243,13 +1243,14 @@ gst_alsa_open_audio(GstAlsa *this) ret = snd_output_stdio_attach(&this->out, stdout, 0); if (ret < 0) { - g_print("error opening log output: %s", snd_strerror(ret)); + g_print("error opening log output: %s\n", snd_strerror(ret)); return FALSE; } /* blocking i/o */ if ((ret = snd_pcm_open(&this->handle, this->device, this->stream, 0))) { - g_print("error opening pcm device: %s", snd_strerror(ret)); + g_print("error opening pcm device %s: %s\n", + this->device, snd_strerror(ret)); return FALSE; }