diff options
author | Le Tan <tamlokveer@gmail.com> | 2014-05-10 07:55:20 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-05-26 10:41:21 +0400 |
commit | 69e995040c3dc31274c8fd2732391192272ec465 (patch) | |
tree | 16f716d5dee2ddb276430815574a638adeefc547 /audio/wavcapture.c | |
parent | d09b8fa161ed6a61339d4d0870f76f13c033b2a3 (diff) | |
download | qemu-69e995040c3dc31274c8fd2732391192272ec465.zip qemu-69e995040c3dc31274c8fd2732391192272ec465.tar.gz qemu-69e995040c3dc31274c8fd2732391192272ec465.tar.bz2 |
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 <tamlokveer@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'audio/wavcapture.c')
-rw-r--r-- | audio/wavcapture.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/wavcapture.c b/audio/wavcapture.c index 9d94623..6f6d792 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)); } } |