Author: jhb
Date: Wed Jul 11 15:04:20 2012
New Revision: 238365
URL: http://svn.freebsd.org/changeset/base/238365

Log:
  Cast a bus address to a uintmax_t for a debug printf to fix the build on
  arm.

Modified:
  head/sys/dev/ath/if_ath_rx_edma.c

Modified: head/sys/dev/ath/if_ath_rx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx_edma.c   Wed Jul 11 12:10:13 2012        
(r238364)
+++ head/sys/dev/ath/if_ath_rx_edma.c   Wed Jul 11 15:04:20 2012        
(r238365)
@@ -191,11 +191,11 @@ ath_edma_reinit_fifo(struct ath_softc *s
        for (j = 0; j < re->m_fifo_depth; j++) {
                bf = re->m_fifo[i];
                DPRINTF(sc, ATH_DEBUG_EDMA_RX,
-                   "%s: Q%d: pos=%i, addr=0x%x\n",
+                   "%s: Q%d: pos=%i, addr=0x%jx\n",
                    __func__,
                    qtype,
                    i,
-                   bf->bf_daddr);
+                   (uintmax_t)bf->bf_daddr);
                ath_hal_putrxbuf(sc->sc_ah, bf->bf_daddr, qtype);
                INCR(i, re->m_fifolen);
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to