Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Print size_t with 'z' in debug code.



details:   https://anonhg.NetBSD.org/src/rev/080c836128cd
branches:  trunk
changeset: 756655:080c836128cd
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Jul 27 18:50:32 2010 +0000

description:
Print size_t with 'z' in debug code.

diffstat:

 sys/dev/ic/ciss.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 829d169fef7b -r 080c836128cd sys/dev/ic/ciss.c
--- a/sys/dev/ic/ciss.c Tue Jul 27 16:30:38 2010 +0000
+++ b/sys/dev/ic/ciss.c Tue Jul 27 18:50:32 2010 +0000
@@ -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 <sys/cdefs.h>
-__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 @@
                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);



Home | Main Index | Thread Index | Old Index