aboutsummaryrefslogtreecommitdiff
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
parentd07edbfa0022c86567f3460378008a654e532820 (diff)
downloadqemu-47dbd1f32d24648b7e8c7291ae3c88d4639cecf1.zip
qemu-47dbd1f32d24648b7e8c7291ae3c88d4639cecf1.tar.gz
qemu-47dbd1f32d24648b7e8c7291ae3c88d4639cecf1.tar.bz2
error display fix (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2068 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--audio/wavcapture.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/wavcapture.c b/audio/wavcapture.c
index f55d59c..0f6f7bf 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;
}