Add missed ().

Noted by:	alc
MFC after:	3 days
This commit is contained in:
Konstantin Belousov 2011-01-19 16:48:07 +00:00
parent 007c620744
commit 007777f137

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