summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-08-15 17:26:54 +0000
committerwpaul <wpaul@FreeBSD.org>2001-08-15 17:26:54 +0000
commit0f92f56bab7fd418783c863fca973f29c4bbd234 (patch)
tree40ed4e6e76d3f1c89abdce9b3afa204bdfb34ca1 /lib/libc/stdlib/getopt.c
parent7965e326b3d19f97024b7bfe55a1e50dd5c01111 (diff)
downloadFreeBSD-src-0f92f56bab7fd418783c863fca973f29c4bbd234.zip
FreeBSD-src-0f92f56bab7fd418783c863fca973f29c4bbd234.tar.gz
Teach bus_dmamem_free() about contigfree(). This is a bit of a hack,
but it's better than the buggy behavior we have now. If we contigmalloc() buffers in bus_dmamem_alloc(), then we must configfree() them in bus_dmamem_free(). Trying to free() them is wrong, and will cause a panic (at least, it does on the alpha.) I tripped over this when trying to kldunload my busdma-ified if_rl driver.
Diffstat (limited to 'lib/libc/stdlib/getopt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud