kern_mmap: restore character deleted in transit

Pointy hat to:	kevans
X-MFC-With:	r356359
This commit is contained in:
Kyle Evans 2020-01-04 23:51:44 +00:00
parent 18348a2369
commit 2180f6c6f1

View File

@ -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));
}
/*