diff options
author | kib <kib@FreeBSD.org> | 2011-01-19 16:48:07 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-01-19 16:48:07 +0000 |
commit | dc5706ffe30988742586c0ff6ccb29d817905157 (patch) | |
tree | e7eb35b4b77aa55859a4186fcc36d796590a12c6 /sys/dev | |
parent | 9b81c936ce1d446b2e95e2364aaa57ffe70e4bc0 (diff) | |
download | FreeBSD-src-dc5706ffe30988742586c0ff6ccb29d817905157.zip FreeBSD-src-dc5706ffe30988742586c0ff6ccb29d817905157.tar.gz |
Add missed ().
Noted by: alc
MFC after: 3 days
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/md/md.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 32ef390..835ec1a 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -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 |