diff options
author | kn <kn@cvs.openbsd.org> | 2020-01-01 15:00:08 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2020-01-01 15:00:08 +0000 |
commit | 4533399a7506f20e6cbdf2c7dbbed9e9a7b8a0e1 (patch) | |
tree | c0c21beb094a652e5db9078a5a8659a560c29383 /sys/arch/sparc64/dev | |
parent | c06cb1d3e4dd1a7b3ca43d3d03bee02b2efccfba (diff) |
Unbreak DEBUG build: use %x not %lx with int
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c index bb471a89fb2..9c55df445b8 100644 --- a/sys/arch/sparc64/dev/iommu.c +++ b/sys/arch/sparc64/dev/iommu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iommu.c,v 1.79 2020/01/01 14:56:12 kn Exp $ */ +/* $OpenBSD: iommu.c,v 1.80 2020/01/01 15:00:07 kn Exp $ */ /* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */ /* @@ -1059,7 +1059,7 @@ iommu_dvmamap_load_raw(bus_dma_tag_t t, bus_dma_tag_t t0, bus_dmamap_t map, int seg_len = MIN(left, len); printf("addr %lx len %ld/0x%lx seg_len " - "%ld/0x%lx left %ld/0xl%x\n", addr, + "%d/0x%x left %d/0x%x\n", addr, len, len, seg_len, seg_len, left, left); left -= seg_len; |