aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-22 17:06:44 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-22 17:06:44 +0000
commit47dbd1f32d24648b7e8c7291ae3c88d4639cecf1 (patch)
tree642d637ab01ee6c54ca27d1fa96cf92a32df8053 /audio
parentd07edbfa0022c86567f3460378008a654e532820 (diff)
error display fix (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2068 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio')
-rw-r--r--audio/wavcapture.c3
1 files changed, 2 insertions, 1 deletions
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;
}