Fix debug message output args to match yamt's src/sys/sys/buf.h changes.

This commit is contained in:
dogcow 2004-09-26 09:00:37 +00:00
parent d1bfce95f0
commit f3084b1ba9
3 changed files with 9 additions and 9 deletions

View File

@ -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 <sys/cdefs.h>
__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

View File

@ -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 <sys/cdefs.h>
__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
*/

View File

@ -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 <sys/cdefs.h>
__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
*/