Author: kib
Date: Wed Jan 19 16:48:07 2011
New Revision: 217583
URL: http://svn.freebsd.org/changeset/base/217583

Log:
  Add missed ().
  
  Noted by:     alc
  MFC after:    3 days

Modified:
  head/sys/dev/md/md.c

Modified: head/sys/dev/md/md.c
==============================================================================
--- head/sys/dev/md/md.c        Wed Jan 19 16:46:13 2011        (r217582)
+++ head/sys/dev/md/md.c        Wed Jan 19 16:48:07 2011        (r217583)
@@ -854,8 +854,8 @@ mdcreate_malloc(struct md_s *sc, struct 
 
                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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to