On 21/09/2019 17:26, Jason Thorpe wrote: > Should we make a PRIxxx macro for it? > > -- thorpej > Sent from my iPhone. > >> On Sep 21, 2019, at 5:57 AM, Robert Elz <k...@netbsd.org> wrote: >> >> Module Name: src >> Committed By: kre >> Date: Sat Sep 21 12:57:25 UTC 2019 >> >> Modified Files: >> src/sys/dev/ic: mpt.c >> >> Log Message: >> bus_addt_t is different widths on different archs, so there is no >> one simple %?x format that will always work to print it. Cast to >> intmax_t and use %jx which should work everywhere.
http://src.illumos.org/source/search?q=PRIxBUSADDR&defs=PRIxBUSADDR&refs=&path=&hist=&project=netbsd-src