diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-02-11 20:27:39 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-02-11 20:27:39 +0000 |
commit | 1c2ad3e9623047701a0a49ef6823ea5f25849966 (patch) | |
tree | e176551446a9c788a9402e4491fe07c7319ddb73 | |
parent | 272a2acfef09f4f6fa56508e40fbd93e370e4d1c (diff) | |
download | src-1c2ad3e9623047701a0a49ef6823ea5f25849966.tar.gz src-1c2ad3e9623047701a0a49ef6823ea5f25849966.zip |
Notes
-rw-r--r-- | sys/vm/vm_extern.h | 2 | ||||
-rw-r--r-- | sys/vm/vm_mmap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h index 49553570ed79..c11dc25d6d96 100644 --- a/sys/vm/vm_extern.h +++ b/sys/vm/vm_extern.h @@ -72,7 +72,7 @@ void kmem_init_zero_region(void); void kmeminit(void); int kern_vm_mmap(struct thread *td, vm_offset_t addr, vm_size_t size, - vm_prot_t prot, int flags, int fd, off_t pos); + int prot, int flags, int fd, off_t pos); int kern_vm_mprotect(struct thread *td, vm_offset_t addr, vm_size_t size, vm_prot_t prot); int kern_vm_msync(struct thread *td, vm_offset_t addr, vm_size_t size, diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 81124aba54f7..b2ad621a925b 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -196,7 +196,7 @@ sys_mmap(struct thread *td, struct mmap_args *uap) int kern_vm_mmap(struct thread *td, vm_offset_t addr, vm_size_t size, - vm_prot_t prot, int flags, int fd, off_t pos) + int prot, int flags, int fd, off_t pos) { struct file *fp; vm_size_t pageoff; |