Add missed ().

Noted by:	alc
MFC after:	3 days
This commit is contained in:
kib 2011-01-19 16:48:07 +00:00
parent 9b81c936ce
commit dc5706ffe3

View File

@ -854,8 +854,8 @@ mdcreate_malloc(struct md_s *sc, struct md_ioctl *mdio)
nsectors = sc->mediasize / sc->sectorsize;
for (u = 0; u < nsectors; u++) {
sp = (uintptr_t)uma_zalloc(sc->uma, md_malloc_wait ?
M_WAITOK : M_NOWAIT | M_ZERO);
sp = (uintptr_t)uma_zalloc(sc->uma, (md_malloc_wait ?
M_WAITOK : M_NOWAIT) | M_ZERO);
if (sp != 0)
error = s_write(sc->indir, u, sp);
else