Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Use PRId64 instead of lld, and PRIx64 instead of ...



details:   https://anonhg.NetBSD.org/src/rev/84fb00028557
branches:  trunk
changeset: 762344:84fb00028557
user:      riz <riz%NetBSD.org@localhost>
date:      Sun Feb 20 01:26:22 2011 +0000

description:
Use PRId64 instead of lld, and PRIx64 instead of llx when compiling
with MVSATA_DEBUG.

diffstat:

 sys/dev/ic/mvsata.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r fe2752f27b30 -r 84fb00028557 sys/dev/ic/mvsata.c
--- a/sys/dev/ic/mvsata.c       Sat Feb 19 20:19:54 2011 +0000
+++ b/sys/dev/ic/mvsata.c       Sun Feb 20 01:26:22 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvsata.c,v 1.6 2010/07/13 12:57:22 kiyohara Exp $      */
+/*     $NetBSD: mvsata.c,v 1.7 2011/02/20 01:26:22 riz Exp $   */
 /*
  * Copyright (c) 2008 KIYOHARA Takashi
  * All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.6 2010/07/13 12:57:22 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mvsata.c,v 1.7 2011/02/20 01:26:22 riz Exp $");
 
 #include "opt_mvsata.h"
 
@@ -492,9 +492,9 @@
        struct atac_softc *atac = chp->ch_atac;
        struct ata_xfer *xfer;
 
-       DPRINTFN(1, ("%s:%d: mvsata_bio: drive=%d, blkno=%lld, bcount=%ld\n",
-           device_xname(atac->atac_dev), chp->ch_channel, drvp->drive,
-           ata_bio->blkno, ata_bio->bcount));
+       DPRINTFN(1, ("%s:%d: mvsata_bio: drive=%d, blkno=%" PRId64
+           ", bcount=%ld\n", device_xname(atac->atac_dev), chp->ch_channel,
+           drvp->drive, ata_bio->blkno, ata_bio->bcount));
 
        xfer = ata_get_xfer(ATAXF_NOSLEEP);
        if (xfer == NULL)
@@ -2330,7 +2330,7 @@
        int quetag, erqqip, erqqop, next, rv, i;
 
        DPRINTFN(2, ("%s:%d:%d: mvsata_edma_inqueue:"
-           " blkno=0x%llx, nbytes=%d, flags=0x%x\n",
+           " blkno=0x%" PRIx64 ", nbytes=%d, flags=0x%x\n",
            device_xname(MVSATA_DEV2(mvport)), mvport->port_hc->hc,
            mvport->port, ata_bio->blkno, ata_bio->nbytes, ata_bio->flags));
 



Home | Main Index | Thread Index | Old Index