aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ntb
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
parentc61b14315ff0c8db021c1e33e0280c74008c23d1 (diff)
Notes
Diffstat (limited to 'sys/dev/ntb')
-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;
}