From c3669d3c6eabe610371dc509b15ae31aa026e2e7 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 20 Sep 2024 02:20:44 +0000 Subject: [PATCH] correct format string in debug printf --- sys/dev/pci/auixp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c index 74db46167f3..cb75ea535ff 100644 --- a/sys/dev/pci/auixp.c +++ b/sys/dev/pci/auixp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auixp.c,v 1.55 2024/09/20 02:00:46 jsg Exp $ */ +/* $OpenBSD: auixp.c,v 1.56 2024/09/20 02:20:44 jsg Exp $ */ /* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */ /* @@ -370,7 +370,7 @@ auixp_malloc(void *hdl, int direction, size_t size, int pool, int flags) } SLIST_INSERT_HEAD(&sc->sc_dma_list, dma, dma_chain); - DPRINTF(("auixp_malloc: returning kern %p, hw 0x%08x for %d bytes " + DPRINTF(("auixp_malloc: returning kern %p, hw 0x%08x for %zu bytes " "in %d segs\n", KERNADDR(dma), (u_int32_t) DMAADDR(dma), dma->size, dma->nsegs) ); -- 2.20.1