diff options
author | ngie <ngie@FreeBSD.org> | 2015-03-22 05:54:48 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-03-22 05:54:48 +0000 |
commit | 987a0e7bf1b57425ea39d7d5d0189fd1b9cdb56a (patch) | |
tree | bda10ec6d558cb9a55310cda6c07da3075b6c6d1 /sys/vm | |
parent | 4c1f3918786ae4efc6cc624d0002f8ec83e4a523 (diff) | |
download | FreeBSD-src-987a0e7bf1b57425ea39d7d5d0189fd1b9cdb56a.zip FreeBSD-src-987a0e7bf1b57425ea39d7d5d0189fd1b9cdb56a.tar.gz |
MFC r278888:
Some minor style(9) fixes (whitespace + comment)
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/memguard.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/vm/memguard.c b/sys/vm/memguard.c index 19b199d..0cf00f7 100644 --- a/sys/vm/memguard.c +++ b/sys/vm/memguard.c @@ -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); |