From 47dbd1f32d24648b7e8c7291ae3c88d4639cecf1 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 22 Jul 2006 17:06:44 +0000 Subject: [PATCH] error display fix (malc) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2068 c046a42c-6fe2-441c-8c8c-71466251a162 --- audio/wavcapture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audio/wavcapture.c b/audio/wavcapture.c index f55d59cac6..0f6f7bf016 100644 --- a/audio/wavcapture.c +++ b/audio/wavcapture.c @@ -103,7 +103,8 @@ int wav_start_capture (CaptureState *s, const char *path, int freq, } if (nchannels != 1 && nchannels != 2) { - term_printf ("incorrect channel count %d, must be 1 or 2\n", bits); + term_printf ("incorrect channel count %d, must be 1 or 2\n", + nchannels); return -1; }