Module Name: src
Committed By: skrll
Date: Mon Sep 23 16:19:33 UTC 2019
Modified Files:
src/sys/dev/ic: mpt.c
Log Message:
Use PRIxBUSADDR
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ic/mpt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/mpt.c
diff -u src/sys/dev/ic/mpt.c:1.20 src/sys/dev/ic/mpt.c:1.21
--- src/sys/dev/ic/mpt.c:1.20 Sat Sep 21 12:57:25 2019
+++ src/sys/dev/ic/mpt.c Mon Sep 23 16:19:33 2019
@@ -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 @@ mpt_send_cmd(mpt_softc_t *mpt, request_t
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",