svn commit: r335340 - stable/10/sys/dev/bxe

Dimitry Andric dim at FreeBSD.org
Mon Jun 18 20:42:54 UTC 2018


Author: dim
Date: Mon Jun 18 20:42:53 2018
New Revision: 335340
URL: https://svnweb.freebsd.org/changeset/base/335340

Log:
  Follow-up to r335289, which merged r334948 from head, to really fix the
  bxe build on i386.  In the stable/10 branch, the rman functions still
  use u_long instead of uintmax_t (this was changed in r294883 and
  r297000), so these have to be printed using the l modifier instead.
  
  Pointy hat to:	me
  Noticed by:	gjb

Modified:
  stable/10/sys/dev/bxe/bxe.c

Modified: stable/10/sys/dev/bxe/bxe.c
==============================================================================
--- stable/10/sys/dev/bxe/bxe.c	Mon Jun 18 20:32:53 2018	(r335339)
+++ stable/10/sys/dev/bxe/bxe.c	Mon Jun 18 20:42:53 2018	(r335340)
@@ -12851,7 +12851,7 @@ bxe_allocate_bars(struct bxe_softc *sc)
         sc->bar[i].handle = rman_get_bushandle(sc->bar[i].resource);
         sc->bar[i].kva    = (vm_offset_t)rman_get_virtual(sc->bar[i].resource);
 
-        BLOGI(sc, "PCI BAR%d [%02x] memory allocated: %#jx-%#jx (%jd) -> %#jx\n",
+        BLOGI(sc, "PCI BAR%d [%02x] memory allocated: %#lx-%#lx (%ld) -> %#jx\n",
               i, PCIR_BAR(i),
               rman_get_start(sc->bar[i].resource),
               rman_get_end(sc->bar[i].resource),


More information about the svn-src-all mailing list