summaryrefslogtreecommitdiff
path: root/audio/wavcapture.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/wavcapture.c')
-rw-r--r--audio/wavcapture.c3
1 files changed, 1 insertions, 2 deletions
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));
}
}