summaryrefslogtreecommitdiffstats
path: root/usr.bin/c89
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-05-10 06:55:39 +0000
committerimp <imp@FreeBSD.org>2001-05-10 06:55:39 +0000
commit36b30174a2a6ce4082ea89df1056c29c02f754b2 (patch)
tree7a24043243fceac2da117f2d933b6c17358c0205 /usr.bin/c89
parentd739b2bcb93a378eb5243ed3019c2c7f3373f223 (diff)
downloadFreeBSD-src-36b30174a2a6ce4082ea89df1056c29c02f754b2.zip
FreeBSD-src-36b30174a2a6ce4082ea89df1056c29c02f754b2.tar.gz
Fix the panics for real this time. When something can't be allocated,
we need to delete the info from the list as well as zero out the res pointer we saved in the code. Also made a few style(9) changes while I was at it. Don't use if (ptr) or if (!ptr), but compare against NULL. Compare against NULL rather than 0. Don't have useless blocks. There are likely other problems as well, but at least the wi based wireless card with memory listed in its cis doesn't panic the system when the card is inserted.
Diffstat (limited to 'usr.bin/c89')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud