From 93fb2b060b66059fb85901bc66bd6ca79321a05c Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Fri, 23 Oct 2020 15:12:06 +0000 Subject: [PATCH] ntb: Fix the 32-bit build after r366969 Reported by: Jenkins MFC with: r366969 --- sys/dev/ntb/ntb_hw/ntb_hw_intel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/ntb/ntb_hw/ntb_hw_intel.c b/sys/dev/ntb/ntb_hw/ntb_hw_intel.c index a729fc193839..3d4f4ba1c4eb 100644 --- a/sys/dev/ntb/ntb_hw/ntb_hw_intel.c +++ b/sys/dev/ntb/ntb_hw/ntb_hw_intel.c @@ -3353,7 +3353,8 @@ intel_ntb_peer_db_set(device_t dev, uint64_t bits) uint64_t db; if ((bits & ~ntb->db_valid_mask) != 0) { - device_printf(ntb->device, "Invalid doorbell bits %lx\n", bits); + device_printf(ntb->device, "Invalid doorbell bits %#jx\n", + (uintmax_t)bits); return; }