svn commit: r280338 - stable/10/sys/vm

Garrett Cooper ngie at FreeBSD.org
Sun Mar 22 05:54:49 UTC 2015


Author: ngie
Date: Sun Mar 22 05:54:48 2015
New Revision: 280338
URL: https://svnweb.freebsd.org/changeset/base/280338

Log:
  MFC r278888:
  
  Some minor style(9) fixes (whitespace + comment)

Modified:
  stable/10/sys/vm/memguard.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/vm/memguard.c
==============================================================================
--- stable/10/sys/vm/memguard.c	Sun Mar 22 02:15:09 2015	(r280337)
+++ stable/10/sys/vm/memguard.c	Sun Mar 22 05:54:48 2015	(r280338)
@@ -89,9 +89,7 @@ memguard_sysctl_desc(SYSCTL_HANDLER_ARGS
 		return (error);
 
 	mtx_lock(&malloc_mtx);
-	/*
-	 * If mtp is NULL, it will be initialized in memguard_cmp().
-	 */
+	/* If mtp is NULL, it will be initialized in memguard_cmp() */
 	vm_memguard_mtype = malloc_desc2type(desc);
 	strlcpy(vm_memguard_desc, desc, sizeof(vm_memguard_desc));
 	mtx_unlock(&malloc_mtx);
@@ -504,7 +502,7 @@ int
 memguard_cmp_zone(uma_zone_t zone)
 {
 
-	 if ((memguard_options & MG_GUARD_NOFREE) == 0 &&
+	if ((memguard_options & MG_GUARD_NOFREE) == 0 &&
 	    zone->uz_flags & UMA_ZONE_NOFREE)
 		return (0);
 


More information about the svn-src-all mailing list