summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_mmap.c
diff options
context:
space:
mode:
authorjlh <jlh@FreeBSD.org>2013-07-22 22:16:47 +0000
committerjlh <jlh@FreeBSD.org>2013-07-22 22:16:47 +0000
commita7248da0b8ea7ed2d76b65cc5eabd7ed1d3c7d08 (patch)
treee89763d5846b04e944897fc9751f73140bcc0c5c /sys/vm/vm_mmap.c
parent40069c94e8310762e5324d7128c13ac2f0c39408 (diff)
downloadFreeBSD-src-a7248da0b8ea7ed2d76b65cc5eabd7ed1d3c7d08.zip
FreeBSD-src-a7248da0b8ea7ed2d76b65cc5eabd7ed1d3c7d08.tar.gz
Fix previous commit when option RACCT is not used.
MFC after: 7 days
Diffstat (limited to 'sys/vm/vm_mmap.c')
-rw-r--r--sys/vm/vm_mmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c
index b614577..1b08097 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);
OpenPOWER on IntegriCloud