Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x68k/dev Fix compile warnings in debug code.



details:   https://anonhg.NetBSD.org/src/rev/502f27fdf47e
branches:  trunk
changeset: 534644:502f27fdf47e
user:      isaki <isaki%NetBSD.org@localhost>
date:      Wed Jul 31 11:01:26 2002 +0000

description:
Fix compile warnings in debug code.

diffstat:

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

diffs (27 lines):

diff -r 11ed5e4b8bb0 -r 502f27fdf47e sys/arch/x68k/dev/fd.c
--- a/sys/arch/x68k/dev/fd.c    Wed Jul 31 09:26:49 2002 +0000
+++ b/sys/arch/x68k/dev/fd.c    Wed Jul 31 11:01:26 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.40 2001/12/27 02:23:24 wiz Exp $      */
+/*     $NetBSD: fd.c,v 1.41 2002/07/31 11:01:26 isaki Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -307,7 +307,7 @@
 {
        int error;
 
-       DPRINTF(("fdc_dmastart: (%s, addr = %p, count = %d\n",
+       DPRINTF(("fdc_dmastart: (%s, addr = %p, count = %ld\n",
                 read ? "read" : "write", (caddr_t) addr, count));
 
        error = bus_dmamap_load(fdc->sc_dmat, fdc->sc_dmamap, addr, count,
@@ -651,7 +651,7 @@
            (fd = fd_cd.cd_devs[unit]) == 0 ||
            bp->b_blkno < 0 ||
            (bp->b_bcount % FDC_BSIZE) != 0) {
-               DPRINTF(("fdstrategy: unit=%d, blkno=%d, bcount=%d\n", unit,
+               DPRINTF(("fdstrategy: unit=%d, blkno=%d, bcount=%ld\n", unit,
                         bp->b_blkno, bp->b_bcount));
                bp->b_error = EINVAL;
                goto bad;



Home | Main Index | Thread Index | Old Index