summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/adm1025.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-12-22 23:06:24 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-12-22 23:06:24 +0000
commit9ed8a787aee50ad329b8c54b475fba9874ab6fe7 (patch)
treecc89995371d0c36d57b8dcb83dc7796e04fe1040 /sys/dev/i2c/adm1025.c
parentca2d4813107a499bdd65e7d19648bc47229b5965 (diff)
Move a struct cd_toc (800 bytes) from the stack to malloc'ed memory.
bzero() all malloc'ed cd_toc structs because cd_read_toc() will only zero as much as it is trying to read. malloc M_TEMP memory instead of M_DEVBUF memory for the cd_toc structs. ok deraadt@
Diffstat (limited to 'sys/dev/i2c/adm1025.c')
0 files changed, 0 insertions, 0 deletions