error display fix (malc)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 22 Jul 2006 17:06:44 +0000 (17:06 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 22 Jul 2006 17:06:44 +0000 (17:06 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2068 c046a42c-6fe2-441c-8c8c-71466251a162

audio/wavcapture.c

index f55d59c..0f6f7bf 100644 (file)
@@ -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;
     }