diff options
author | glebius <glebius@FreeBSD.org> | 2011-10-12 18:08:28 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2011-10-12 18:08:28 +0000 |
commit | 2522c42334ee2fd458372bfa8058df46b004a397 (patch) | |
tree | 99a8fc211be926327f1c06faf02f73a2a7263fa6 /sys/kern/kern_malloc.c | |
parent | eacdf4cafb62dda299c5691e9483cb910e9c8f6b (diff) | |
download | FreeBSD-src-2522c42334ee2fd458372bfa8058df46b004a397.zip FreeBSD-src-2522c42334ee2fd458372bfa8058df46b004a397.tar.gz |
Make memguard(9) capable to guard uma(9) allocations.
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r-- | sys/kern/kern_malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c index b4c45fa..12baa3f 100644 --- a/sys/kern/kern_malloc.c +++ b/sys/kern/kern_malloc.c @@ -458,7 +458,7 @@ malloc(unsigned long size, struct malloc_type *mtp, int flags) ("malloc(M_WAITOK) in interrupt context")); #ifdef DEBUG_MEMGUARD - if (memguard_cmp(mtp, size)) { + if (memguard_cmp_mtp(mtp, size)) { va = memguard_alloc(size, flags); if (va != NULL) return (va); |