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/pcmcia/aic_pcmcia.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/pcmcia/aic_pcmcia.c')
-rw-r--r-- | sys/dev/pcmcia/aic_pcmcia.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pcmcia/aic_pcmcia.c b/sys/dev/pcmcia/aic_pcmcia.c index 0734bf9b600..39adae6ae6f 100644 --- a/sys/dev/pcmcia/aic_pcmcia.c +++ b/sys/dev/pcmcia/aic_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic_pcmcia.c,v 1.12 2005/11/21 18:16:41 millert Exp $ */ +/* $OpenBSD: aic_pcmcia.c,v 1.13 2006/04/20 20:31:13 miod Exp $ */ /* $NetBSD: aic_pcmcia.c,v 1.6 1998/07/19 17:28:15 christos Exp $ */ /* @@ -153,7 +153,8 @@ aic_pcmcia_attach(parent, self, aux) return; } - printf(" port 0x%lx/%d", psc->sc_pcioh.addr, psc->sc_pcioh.size); + printf(" port 0x%lx/%lu", psc->sc_pcioh.addr, + (u_long)psc->sc_pcioh.size); if (!aic_find(sc->sc_iot, sc->sc_ioh)) { printf(": unable to detect chip!\n"); |