Commit 47dbd1f32d24648b7e8c7291ae3c88d4639cecf1
1 parent
d07edbfa
error display fix (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2068 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
1 deletions
audio/wavcapture.c
| @@ -103,7 +103,8 @@ int wav_start_capture (CaptureState *s, const char *path, int freq, | @@ -103,7 +103,8 @@ int wav_start_capture (CaptureState *s, const char *path, int freq, | ||
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | if (nchannels != 1 && nchannels != 2) { | 105 | if (nchannels != 1 && nchannels != 2) { |
| 106 | - term_printf ("incorrect channel count %d, must be 1 or 2\n", bits); | 106 | + term_printf ("incorrect channel count %d, must be 1 or 2\n", |
| 107 | + nchannels); | ||
| 107 | return -1; | 108 | return -1; |
| 108 | } | 109 | } |
| 109 | 110 |