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 PRIxBUSADDR



details:   https://anonhg.NetBSD.org/src/rev/5edd4d6a5d85
branches:  trunk
changeset: 454641:5edd4d6a5d85
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Sep 23 16:19:33 2019 +0000

description:
Use PRIxBUSADDR

diffstat:

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

diffs (29 lines):

diff -r 25c6cb886b49 -r 5edd4d6a5d85 sys/dev/ic/mpt.c
--- a/sys/dev/ic/mpt.c  Mon Sep 23 16:17:54 2019 +0000
+++ b/sys/dev/ic/mpt.c  Mon Sep 23 16:19:33 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mpt.c,v 1.20 2019/09/21 12:57:25 kre Exp $     */
+/*     $NetBSD: mpt.c,v 1.21 2019/09/23 16:19:33 skrll Exp $   */
 
 /*
  * Copyright (c) 2000, 2001 by Greg Ansley
@@ -110,7 +110,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpt.c,v 1.20 2019/09/21 12:57:25 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpt.c,v 1.21 2019/09/23 16:19:33 skrll Exp $");
 
 #include <dev/ic/mpt.h>
 
@@ -327,8 +327,8 @@
        if (mpt->verbose > 1) {
                u_int32_t *pReq;
                pReq = req->req_vbuf;
-               mpt_prt(mpt, "Send Request %d (%#jx):",
-                   req->index, (intmax_t)req->req_pbuf);
+               mpt_prt(mpt, "Send Request %d (%#" PRIxBUSADDR "):",
+                   req->index, req->req_pbuf);
                mpt_prt(mpt, "%08x %08x %08x %08x",
                    pReq[0], pReq[1], pReq[2], pReq[3]);
                mpt_prt(mpt, "%08x %08x %08x %08x",



Home | Main Index | Thread Index | Old Index