diff options
author | Uwe Stuehler <uwe@cvs.openbsd.org> | 2006-04-21 17:52:55 +0000 |
---|---|---|
committer | Uwe Stuehler <uwe@cvs.openbsd.org> | 2006-04-21 17:52:55 +0000 |
commit | e70846cfac303258594c76f2687174a451b73f6f (patch) | |
tree | 9a8a12afa959682c1db3db349cb51f4286361047 /sys/dev/pcmcia | |
parent | 49dc75b04215ff020e75c80f474069daacfe1f25 (diff) |
Fix a typo and remove an unreachable label to let this compile again.
Based on a diff from Markus Schatzl (wtf at neuronenwerk de) to tech@.
OK miod@ fgsch@
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r-- | sys/dev/pcmcia/gpr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/gpr.c b/sys/dev/pcmcia/gpr.c index 89695ab642b..de8da6c0362 100644 --- a/sys/dev/pcmcia/gpr.c +++ b/sys/dev/pcmcia/gpr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gpr.c,v 1.11 2005/01/27 17:04:55 millert Exp $ */ +/* $OpenBSD: gpr.c,v 1.12 2006/04/21 17:52:54 uwe Exp $ */ /* * Copyright (c) 2002, Federico G. Schwindt @@ -204,12 +204,11 @@ gpr_attach(struct device *parent, struct device *self, void *aux) sc->sc_ih = pcmcia_intr_establish(pa->pf, IPL_TTY, gpr_intr, sc, sc->sc_dev.dv_xname); - intrstr = pcmcia_intr_string(psc->sc_pf, sc->sc_ih); + intrstr = pcmcia_intr_string(sc->sc_pf, sc->sc_ih); printf("%s%s\n", *intrstr ? ", " : "", intrstr); if (sc->sc_ih != NULL) return; -fail_intr: pcmcia_mem_unmap(pa->pf, sc->sc_memwin); fail_mem_map: pcmcia_mem_free(pa->pf, &sc->sc_pmemh); |