From fc2b167929e7f0cd2000390b3ba3463f9c3ae76f Mon Sep 17 00:00:00 2001 From: Jeremie Le Hen Date: Mon, 22 Jul 2013 22:16:47 +0000 Subject: [PATCH] Fix previous commit when option RACCT is not used. MFC after: 7 days --- sys/vm/vm_mmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index b6145777b9b7..1b0809756c20 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -1224,7 +1224,9 @@ sys_munlock(td, uap) { vm_offset_t addr, end, last, start; vm_size_t size; +#ifdef RACCT vm_map_t map; +#endif int error; error = priv_check(td, PRIV_VM_MUNLOCK);