summaryrefslogtreecommitdiff
path: root/sys/ufs
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-10-02 00:59:13 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-10-02 00:59:13 +0000
commitfcfb7cb8255b0a7271e581314b67d6479d83ad7c (patch)
treee9efdb5a76104b7303a0b6dddab7ae12a4d352ed /sys/ufs
parenta6b481e93e8e14c27731c12457de6fdb40c61dd6 (diff)
Apply (with slight variants) this elimination of bzero() with M_ZERO:
- 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); - bzero(mapstore, mapsize);
Diffstat (limited to 'sys/ufs')
0 files changed, 0 insertions, 0 deletions