From 69e995040c3dc31274c8fd2732391192272ec465 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Sat, 10 May 2014 07:55:20 +0800 Subject: audio: replace fprintf(stderr, ...) with error_report() in audio Replace fprintf(stderr,...) with error_report() in files audio/*. The trailing "\n"s of the @fmt argument have been removed because @fmt of error_report() should not contain newline. Signed-off-by: Le Tan Signed-off-by: Michael Tokarev --- audio/wavcapture.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'audio/wavcapture.c') diff --git a/audio/wavcapture.c b/audio/wavcapture.c index 9d94623225..6f6d792691 100644 --- a/audio/wavcapture.c +++ b/audio/wavcapture.c @@ -63,8 +63,7 @@ static void wav_destroy (void *opaque) } doclose: if (fclose (wav->f)) { - fprintf (stderr, "wav_destroy: fclose failed: %s", - strerror (errno)); + error_report("wav_destroy: fclose failed: %s", strerror(errno)); } } -- cgit v1.2.3