diff options
author | 2009-07-12 18:24:23 +0000 | |
---|---|---|
committer | 2009-07-12 18:24:23 +0000 | |
commit | bac27df34cdd78268cac2a14d320ca5dad588a72 (patch) | |
tree | f9be110470700b75982277d5bfd2e4c648ba3b37 /usr.bin/mandoc/main.c | |
parent | don't cast lvalue, no binary change. (diff) | |
download | wireguard-openbsd-bac27df34cdd78268cac2a14d320ca5dad588a72.tar.xz wireguard-openbsd-bac27df34cdd78268cac2a14d320ca5dad588a72.zip |
In a error case in malo_init (e.g. can't load the firmware),
always call malo_stop which removes the previously registered
interrupt handler from the cardbus interrupt handler chain.
Otherwise, since malo_init gets called twice in a error case,
our interrupt handler got registered twice and on the next
device detach, just the last registered interrupt handler got
removed, which leaves one left. That caused a kernel page fault
trap as soon our "zombie" interrupt handler got called.
Fix a typo while here.
Diffstat (limited to 'usr.bin/mandoc/main.c')
0 files changed, 0 insertions, 0 deletions