From 1a808dfbe76e40cfcee6a87d9b90aa6341b5eb96 Mon Sep 17 00:00:00 2001 From: jakllsch Date: Tue, 27 Jul 2010 18:50:32 +0000 Subject: [PATCH] Print size_t with 'z' in debug code. --- sys/dev/ic/ciss.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/dev/ic/ciss.c b/sys/dev/ic/ciss.c index c8afe614a259..0c302c059267 100644 --- a/sys/dev/ic/ciss.c +++ b/sys/dev/ic/ciss.c @@ -1,4 +1,4 @@ -/* $NetBSD: ciss.c,v 1.21 2010/07/26 22:33:24 jym Exp $ */ +/* $NetBSD: ciss.c,v 1.22 2010/07/27 18:50:32 jakllsch Exp $ */ /* $OpenBSD: ciss.c,v 1.14 2006/03/13 16:02:23 mickey Exp $ */ /* @@ -19,7 +19,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ciss.c,v 1.21 2010/07/26 22:33:24 jym Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ciss.c,v 1.22 2010/07/27 18:50:32 jakllsch Exp $"); #include "bio.h" @@ -469,8 +469,8 @@ ciss_cmd(struct ciss_ccb *ccb, int flags, int wait) cmd->sgin = dmap->dm_nsegs; sgd = dmap->dm_segs; - CISS_DPRINTF(CISS_D_DMA, ("data=%p/%u<%#" PRIxPADDR "/%zu", - ccb->ccb_data, ccb->ccb_len, sgd->ds_addr,sgd->ds_len)); + CISS_DPRINTF(CISS_D_DMA, ("data=%p/%zu<%#" PRIxPADDR "/%zu", + ccb->ccb_data, ccb->ccb_len, sgd->ds_addr, sgd->ds_len)); for (i = 0; i < dmap->dm_nsegs; sgd++, i++) { cmd->sgl[i].addr_lo = htole32(sgd->ds_addr);