Author: markj
Date: Fri Oct 23 15:12:06 2020
New Revision: 366973
URL: https://svnweb.freebsd.org/changeset/base/366973

Log:
  ntb: Fix the 32-bit build after r366969
  
  Reported by:  Jenkins
  MFC with:     r366969

Modified:
  head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c

Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c
==============================================================================
--- head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c      Fri Oct 23 14:56:17 2020        
(r366972)
+++ head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c      Fri Oct 23 15:12:06 2020        
(r366973)
@@ -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;
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to