diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-20 20:31:14 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-20 20:31:14 +0000 |
commit | de5376f6ab54105d367ef84762d22711310371e7 (patch) | |
tree | bf44ed50c2db9351ff55368d75f45c807cc72475 /sys/dev/pci/auich.c | |
parent | e1d297c29cadf0be3ed3775c0cfbcd97d01d7b9a (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.c | 5 |
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); |