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, 2 insertions, 1 deletions
diff --git a/audio/wavcapture.c b/audio/wavcapture.c
index 748b58006e..f55d59cac6 100644
--- a/audio/wavcapture.c
+++ b/audio/wavcapture.c
@@ -121,7 +121,8 @@ int wav_start_capture (CaptureState *s, const char *path, int freq,
wav = qemu_mallocz (sizeof (*wav));
if (!wav) {
- AUD_log ("wav", "Could not allocate memory (%zu bytes)", sizeof (*wav));
+ term_printf ("Could not allocate memory for wav capture (%zu bytes)",
+ sizeof (*wav));
return -1;
}