diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-10-06 23:12:18 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-10-06 23:12:18 +0000 |
commit | fd70724e0c6df0ffd868e0c7d80b8f683072b49a (patch) | |
tree | 140851dd496663ab3addada146fd76ce4f7d40fe /sys/dev/pci | |
parent | 938a1718c74fd46e0af3080125cc5fa95e489e0c (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/pci')
0 files changed, 0 insertions, 0 deletions