diff options
author | billf <billf@FreeBSD.org> | 1999-08-17 22:13:06 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-08-17 22:13:06 +0000 |
commit | bc7762553a3834f3e84f1e6590eedb93c00213ab (patch) | |
tree | 70de11657ee39f9bd7c9b588fb5629b9925f30da | |
parent | 675a3e4837144c9397538116c084bc3a7b6a990d (diff) | |
download | FreeBSD-src-bc7762553a3834f3e84f1e6590eedb93c00213ab.zip FreeBSD-src-bc7762553a3834f3e84f1e6590eedb93c00213ab.tar.gz |
(1) Fix a spelling mistake in a comment.
(2) Add braces to avoid ambigious if/if/else
Reviewed by: bde
-rw-r--r-- | sys/pccard/pcic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 278c388..5a637ab 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -760,15 +760,16 @@ pcic_probe(void) pcic_imask = soft_imask; /* See if the user has requested a specific IRQ */ - if (getenv_int("machdep.pccard.pcic_irq", &desired_irq)) + if (getenv_int("machdep.pccard.pcic_irq", &desired_irq)) { /* legal IRQ? */ if (desired_irq >= 1 && desired_irq <= ICU_LEN && (1ul << desired_irq) & free_irqs) free_irqs = 1ul << desired_irq; else - /* illeagal, disable use of IRQ */ + /* illegal, disable use of IRQ */ free_irqs = 0; + } pcic_irq = pccard_alloc_intr(free_irqs, pcicintr, 0, &pcic_imask, NULL); |