> Modified Files: > src/sys/dev/pci: if_wm.c > > Log Message: > Use PRIxPADDR to print a DMA address. This fix a problem that if_wm.c > can't compile with WM_DEBUG on non-64bit platforms.
sizeof(paddr_t) != sizeof(bus_addr_t) at least on sparc, so using PRIx64 with an explicit (uint64_t) cast is safer, I think. (someone might claim we should add PRIxBUSADDRfoo, though) --- Izumi Tsutsui