From f3084b1ba9e8142a17532835a65d7a0ae41a159f Mon Sep 17 00:00:00 2001 From: dogcow Date: Sun, 26 Sep 2004 09:00:37 +0000 Subject: [PATCH] Fix debug message output args to match yamt's src/sys/sys/buf.h changes. --- sys/dev/scsipi/cd.c | 6 +++--- sys/dev/scsipi/sd.c | 6 +++--- sys/dev/scsipi/st.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sys/dev/scsipi/cd.c b/sys/dev/scsipi/cd.c index 13fcb84f0369..a66706ab48ca 100644 --- a/sys/dev/scsipi/cd.c +++ b/sys/dev/scsipi/cd.c @@ -1,4 +1,4 @@ -/* $NetBSD: cd.c,v 1.209 2004/09/18 00:08:16 mycroft Exp $ */ +/* $NetBSD: cd.c,v 1.210 2004/09/26 09:00:37 dogcow Exp $ */ /*- * Copyright (c) 1998, 2001, 2003, 2004 The NetBSD Foundation, Inc. @@ -54,7 +54,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.209 2004/09/18 00:08:16 mycroft Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cd.c,v 1.210 2004/09/26 09:00:37 dogcow Exp $"); #include "rnd.h" @@ -557,7 +557,7 @@ cdstrategy(struct buf *bp) SC_DEBUG(cd->sc_periph, SCSIPI_DB2, ("cdstrategy ")); SC_DEBUG(cd->sc_periph, SCSIPI_DB1, - ("%ld bytes @ blk %" PRId64 "\n", bp->b_bcount, bp->b_blkno)); + ("%d bytes @ blk %" PRId64 "\n", bp->b_bcount, bp->b_blkno)); /* * If the device has been made invalid, error out * maybe the media changed diff --git a/sys/dev/scsipi/sd.c b/sys/dev/scsipi/sd.c index 899e31362737..11b1c96850d1 100644 --- a/sys/dev/scsipi/sd.c +++ b/sys/dev/scsipi/sd.c @@ -1,4 +1,4 @@ -/* $NetBSD: sd.c,v 1.227 2004/09/25 04:11:23 thorpej Exp $ */ +/* $NetBSD: sd.c,v 1.228 2004/09/26 09:00:37 dogcow Exp $ */ /*- * Copyright (c) 1998, 2003, 2004 The NetBSD Foundation, Inc. @@ -54,7 +54,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.227 2004/09/25 04:11:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.228 2004/09/26 09:00:37 dogcow Exp $"); #include "opt_scsi.h" #include "rnd.h" @@ -657,7 +657,7 @@ sdstrategy(struct buf *bp) SC_DEBUG(sd->sc_periph, SCSIPI_DB2, ("sdstrategy ")); SC_DEBUG(sd->sc_periph, SCSIPI_DB1, - ("%ld bytes @ blk %" PRId64 "\n", bp->b_bcount, bp->b_blkno)); + ("%d bytes @ blk %" PRId64 "\n", bp->b_bcount, bp->b_blkno)); /* * If the device has been made invalid, error out */ diff --git a/sys/dev/scsipi/st.c b/sys/dev/scsipi/st.c index 96a789d1156a..d8a0023ef5d9 100644 --- a/sys/dev/scsipi/st.c +++ b/sys/dev/scsipi/st.c @@ -1,4 +1,4 @@ -/* $NetBSD: st.c,v 1.171 2004/09/18 00:21:03 mycroft Exp $ */ +/* $NetBSD: st.c,v 1.172 2004/09/26 09:00:37 dogcow Exp $ */ /*- * Copyright (c) 1998, 2004 The NetBSD Foundation, Inc. @@ -57,7 +57,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.171 2004/09/18 00:21:03 mycroft Exp $"); +__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.172 2004/09/26 09:00:37 dogcow Exp $"); #include "opt_scsi.h" @@ -1082,7 +1082,7 @@ ststrategy(struct buf *bp) int s; SC_DEBUG(st->sc_periph, SCSIPI_DB1, - ("ststrategy %ld bytes @ blk %" PRId64 "\n", bp->b_bcount, bp->b_blkno)); + ("ststrategy %d bytes @ blk %" PRId64 "\n", bp->b_bcount, bp->b_blkno)); /* * If it's a null transfer, return immediatly */