From 7410e8a38956bc52b7a8ba18c0c9618bd4af8000 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Wed, 20 May 2009 10:57:56 +0200 Subject: Fix one minor crashing bug when -debug-audio is used with the OSS audio backend. Moreover, properly set errno to 0 in QSOCKET_CALL macro, to avoid misleading trace messages when -debug-slirp is used --- audio/esdaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') diff --git a/audio/esdaudio.c b/audio/esdaudio.c index 05c030f..2226022 100644 --- a/audio/esdaudio.c +++ b/audio/esdaudio.c @@ -226,7 +226,7 @@ static int qesd_run_out (HWVoiceOut *hw) esd->live = live - decr; hw->rpos = esd->rpos; if (esd->live > 0) { - O("%s: signaling %d samples\n", esd->live); + O("%s: signaling %d samples\n", __FUNCTION__, esd->live); audio_pt_unlock_and_signal (&esd->pt, AUDIO_FUNC); } else { -- cgit v1.1