diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2020-01-31 02:03:22 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2020-01-31 02:03:22 +0000 |
commit | 9e47b34110900bbe7ead96b2a5b0843c80a21e03 (patch) | |
tree | f44f185d9d5e9037cfc097747071624478bd2a04 | |
parent | d4665eaa663886465163c4c40133a3278bb59ea4 (diff) | |
download | src-9e47b34110900bbe7ead96b2a5b0843c80a21e03.tar.gz src-9e47b34110900bbe7ead96b2a5b0843c80a21e03.zip |
Fix LINT build with MEMGUARD.
Notes
Notes:
svn path=/head/; revision=357315
-rw-r--r-- | sys/vm/uma_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/uma_core.c b/sys/vm/uma_core.c index fa5cdc3366f1..28b959d66b4a 100644 --- a/sys/vm/uma_core.c +++ b/sys/vm/uma_core.c @@ -2980,7 +2980,7 @@ uma_zalloc_debug(uma_zone_t zone, void **itemp, void *udata, int flags) #endif #ifdef DEBUG_MEMGUARD - if ((zone->uz_flags & UMA_ZONE_SMR == 0) && memguard_cmp_zone(zone)) { + if ((zone->uz_flags & UMA_ZONE_SMR) == 0 && memguard_cmp_zone(zone)) { void *item; item = memguard_alloc(zone->uz_size, flags); if (item != NULL) { @@ -3014,7 +3014,7 @@ uma_zfree_debug(uma_zone_t zone, void *item, void *udata) ("uma_zfree_debug: called with spinlock or critical section held")); #ifdef DEBUG_MEMGUARD - if ((zone->uz_flags & UMA_ZONE_SMR == 0) && is_memguard_addr(item)) { + if ((zone->uz_flags & UMA_ZONE_SMR) == 0 && is_memguard_addr(item)) { if (zone->uz_dtor != NULL) zone->uz_dtor(item, zone->uz_size, udata); if (zone->uz_fini != NULL) |