diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-20 20:30:30 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-20 20:30:30 +0000 |
commit | e1d297c29cadf0be3ed3775c0cfbcd97d01d7b9a (patch) | |
tree | 1f5775b74689501620c6b5f53338b01ef6cfc234 /sys/dev/pcmcia | |
parent | c6a06abcb61bbc239e1cfef78b711075b49da926 (diff) |
Make these compile again.
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r-- | sys/dev/pcmcia/esp_pcmcia.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/pcmcia/esp_pcmcia.c b/sys/dev/pcmcia/esp_pcmcia.c index 8d7e2f2c3fc..3cd5911ebef 100644 --- a/sys/dev/pcmcia/esp_pcmcia.c +++ b/sys/dev/pcmcia/esp_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esp_pcmcia.c,v 1.5 2005/01/27 17:04:55 millert Exp $ */ +/* $OpenBSD: esp_pcmcia.c,v 1.6 2006/04/20 20:30:28 miod Exp $ */ /* $NetBSD: esp_pcmcia.c,v 1.8 2000/06/05 15:36:45 tsutsui Exp $ */ /*- @@ -196,13 +196,14 @@ esp_pcmcia_attach(parent, self, aux) goto iomap_failed; } - printf(" port 0x%lx/%d", esc->sc_pcioh.addr, esc->sc_pcioh.size); + printf(" port 0x%lx/%lu", esc->sc_pcioh.addr, + (u_long)esc->sc_pcioh.size); esp_pcmcia_init(esc); esc->sc_ih = pcmcia_intr_establish(esc->sc_pf, IPL_BIO, - ncr53c9x_intr, &esc->sc_ncr53c9x, esc->sc_dev.dv_xname); - intrstr = pcmcia_intr_string(psc->sc_pf, esc->sc_ih); + ncr53c9x_intr, &esc->sc_ncr53c9x, sc->sc_dev.dv_xname); + intrstr = pcmcia_intr_string(esc->sc_pf, esc->sc_ih); if (esc->sc_ih == NULL) { printf(", %s\n", intrstr); goto iomap_failed; |