svn commit: r278888 - head/sys/vm
Garrett Cooper
ngie at FreeBSD.org
Tue Feb 17 08:50:27 UTC 2015
Author: ngie
Date: Tue Feb 17 08:50:26 2015
New Revision: 278888
URL: https://svnweb.freebsd.org/changeset/base/278888
Log:
Some minor style(9) fixes (whitespace + comment)
MFC after: 3 days
Modified:
head/sys/vm/memguard.c
Modified: head/sys/vm/memguard.c
==============================================================================
--- head/sys/vm/memguard.c Tue Feb 17 08:42:26 2015 (r278887)
+++ head/sys/vm/memguard.c Tue Feb 17 08:50:26 2015 (r278888)
@@ -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);
@@ -502,7 +500,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-head
mailing list