summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-10-06 23:12:18 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-10-06 23:12:18 +0000
commitfd70724e0c6df0ffd868e0c7d80b8f683072b49a (patch)
tree140851dd496663ab3addada146fd76ce4f7d40fe /sys/dev
parent938a1718c74fd46e0af3080125cc5fa95e489e0c (diff)
Some archs used memset() rather than bzero(). So duplicate diff
previously applied to other archs deleting a memset() this time. e.g. - if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - memset(mapstore, 0, mapsize);
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions