Source-Changes-HG archive

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

[src/trunk]: src/sys Make it compilable even with debug option.



details:   https://anonhg.NetBSD.org/src/rev/8997dcd86f38
branches:  trunk
changeset: 451480:8997dcd86f38
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat May 25 04:41:53 2019 +0000

description:
Make it compilable even with debug option.

diffstat:

 sys/arch/sgimips/hpc/haltwo.c |  6 +++---
 sys/dev/bluetooth/btsco.c     |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r cd87ae3c4fb3 -r 8997dcd86f38 sys/arch/sgimips/hpc/haltwo.c
--- a/sys/arch/sgimips/hpc/haltwo.c     Sat May 25 04:25:30 2019 +0000
+++ b/sys/arch/sgimips/hpc/haltwo.c     Sat May 25 04:41:53 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: haltwo.c,v 1.25 2019/05/08 13:40:16 isaki Exp $ */
+/* $NetBSD: haltwo.c,v 1.26 2019/05/25 04:41:53 isaki Exp $ */
 
 /*
  * Copyright (c) 2003 Ilpo Ruotsalainen
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: haltwo.c,v 1.25 2019/05/08 13:40:16 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: haltwo.c,v 1.26 2019/05/25 04:41:53 isaki Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -695,7 +695,7 @@
        fifoend = (param->channels * 8) >> 3;
 
        DPRINTF(("haltwo_trigger_output: hw_channels = %d highwater = %d"
-           " fifobeg = %d fifoend = %d\n", param->hw_channels, highwater,
+           " fifobeg = %d fifoend = %d\n", param->channels, highwater,
            fifobeg, fifoend));
 
        ctrl = HPC3_PBUS_DMACTL_RT
diff -r cd87ae3c4fb3 -r 8997dcd86f38 sys/dev/bluetooth/btsco.c
--- a/sys/dev/bluetooth/btsco.c Sat May 25 04:25:30 2019 +0000
+++ b/sys/dev/bluetooth/btsco.c Sat May 25 04:41:53 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: btsco.c,v 1.39 2019/05/08 13:40:17 isaki Exp $ */
+/*     $NetBSD: btsco.c,v 1.40 2019/05/25 04:41:53 isaki Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: btsco.c,v 1.39 2019/05/08 13:40:17 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: btsco.c,v 1.40 2019/05/25 04:41:53 isaki Exp $");
 
 #include <sys/param.h>
 #include <sys/audioio.h>
@@ -961,7 +961,7 @@
        struct btsco_softc *sc = hdl;
        void *addr;
 
-       DPRINTF("%s: size %d direction %d\n", sc->sc_name, size, direction);
+       DPRINTF("%s: size %zd direction %d\n", sc->sc_name, size, direction);
 
        addr = kmem_alloc(size, KM_SLEEP);
 



Home | Main Index | Thread Index | Old Index