From 2180f6c6f1807efbdce3bfa0f9da69c06764d205 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Sat, 4 Jan 2020 23:51:44 +0000 Subject: [PATCH] kern_mmap: restore character deleted in transit Pointy hat to: kevans X-MFC-With: r356359 --- sys/vm/vm_mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index a6333059cd58..58dd1bb1573e 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -200,7 +200,7 @@ kern_mmap(struct thread *td, uintptr_t addr0, size_t len, int prot, int flags, int fd, off_t pos) { - return (kern_mmap_fpcheck(td, addr, len, prot, flags, fd, pos, NULL)); + return (kern_mmap_fpcheck(td, addr0, len, prot, flags, fd, pos, NULL)); } /*