summaryrefslogtreecommitdiff
path: root/sys/dev/pci/auich.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-04-20 20:31:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-04-20 20:31:14 +0000
commitde5376f6ab54105d367ef84762d22711310371e7 (patch)
treebf44ed50c2db9351ff55368d75f45c807cc72475 /sys/dev/pci/auich.c
parente1d297c29cadf0be3ed3775c0cfbcd97d01d7b9a (diff)
Fix various printf() issues: too many arguments, not enough arguments, argument
order reversed, wrong modifiers. ok deraadt@ marco@ mickey@
Diffstat (limited to 'sys/dev/pci/auich.c')
-rw-r--r--sys/dev/pci/auich.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/auich.c b/sys/dev/pci/auich.c
index 8e961aa244a..13f569bbe1f 100644
--- a/sys/dev/pci/auich.c
+++ b/sys/dev/pci/auich.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auich.c,v 1.58 2006/02/13 06:15:32 brad Exp $ */
+/* $OpenBSD: auich.c,v 1.59 2006/04/20 20:31:12 miod Exp $ */
/*
* Copyright (c) 2000,2001 Michael Shalayeff
@@ -423,7 +423,8 @@ auich_attach(parent, self, aux)
}
if (bus_dmamap_load_raw(sc->dmat, sc->dmalist_map, sc->dmalist_seg,
segs, dmasz, BUS_DMA_NOWAIT)) {
- printf(": failed to load dmalist map: %d segs %u size\n", segs, dmasz);
+ printf(": failed to load dmalist map: %d segs %lu size\n",
+ segs, (u_long)dmasz);
bus_dmamap_destroy(sc->dmat, sc->dmalist_map);
bus_dmamem_unmap(sc->dmat, sc->dmalist_kva, dmasz);
bus_dmamem_free(sc->dmat, sc->dmalist_seg, segs);