Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Fix a debug printf



details:   https://anonhg.NetBSD.org/src/rev/8910689fa332
branches:  trunk
changeset: 823870:8910689fa332
user:      martin <martin%NetBSD.org@localhost>
date:      Fri May 12 07:12:37 2017 +0000

description:
Fix a debug printf

diffstat:

 sys/dev/audio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1162ab62b8e3 -r 8910689fa332 sys/dev/audio.c
--- a/sys/dev/audio.c   Fri May 12 06:49:31 2017 +0000
+++ b/sys/dev/audio.c   Fri May 12 07:12:37 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audio.c,v 1.342 2017/05/12 04:15:40 nat Exp $  */
+/*     $NetBSD: audio.c,v 1.343 2017/05/12 07:12:37 martin Exp $       */
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -148,7 +148,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.342 2017/05/12 04:15:40 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.343 2017/05/12 07:12:37 martin Exp $");
 
 #include "audio.h"
 #if NAUDIO > 0
@@ -2679,7 +2679,7 @@
             parm->channels * parm->precision / NBBY;
 
        DPRINTF(("audio_calc_blksize: %s blksize=%d\n",
-                mode == AUMODE_PLAY ? "play" : "record", rb->blksize));
+                mode == AUMODE_PLAY ? "play" : "record", *blksize));
 }
 
 void



Home | Main Index | Thread Index | Old Index