summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/main.c
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2009-07-12 18:24:23 +0000
committermglocker <mglocker@openbsd.org>2009-07-12 18:24:23 +0000
commitbac27df34cdd78268cac2a14d320ca5dad588a72 (patch)
treef9be110470700b75982277d5bfd2e4c648ba3b37 /usr.bin/mandoc/main.c
parentdon't cast lvalue, no binary change. (diff)
downloadwireguard-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