aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ntb/ntb_transport.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2019-08-15 23:56:19 +0000
committerAlexander Motin <mav@FreeBSD.org>2019-08-15 23:56:19 +0000
commitccfbff6d592ecb89e9d2195a68d66d691e219b9a (patch)
treedac7dd557ea78e592cab7717593a1ab6cbeab286 /sys/dev/ntb/ntb_transport.c
parentc61b14315ff0c8db021c1e33e0280c74008c23d1 (diff)
downloadsrc-ccfbff6d592ecb89e9d2195a68d66d691e219b9a.tar.gz
src-ccfbff6d592ecb89e9d2195a68d66d691e219b9a.zip
Fix i386 build.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=351107
Diffstat (limited to 'sys/dev/ntb/ntb_transport.c')
-rw-r--r--sys/dev/ntb/ntb_transport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ntb/ntb_transport.c b/sys/dev/ntb/ntb_transport.c
index 9ef59b8eb521..bc1091b940e8 100644
--- a/sys/dev/ntb/ntb_transport.c
+++ b/sys/dev/ntb/ntb_transport.c
@@ -380,7 +380,8 @@ ntb_transport_attach(device_t dev)
mw->tx_size = mw->phys_size;
if (max_mw_size != 0 && mw->tx_size > max_mw_size) {
device_printf(dev, "Memory window %d limited from "
- "%ju to %ju\n", i, mw->phys_size, max_mw_size);
+ "%ju to %ju\n", i, (uintmax_t)mw->phys_size,
+ max_mw_size);
mw->tx_size = max_mw_size;
}