diff options
Diffstat (limited to 'audio/wavcapture.c')
-rw-r--r-- | audio/wavcapture.c | 3 |
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; } |