X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..fa4905b191e0d16b0fffd53bd565eca71d01fae0:/bsd/kern/kern_mman.c?ds=sidebyside diff --git a/bsd/kern/kern_mman.c b/bsd/kern/kern_mman.c index 3fd5b0650..25c48f396 100644 --- a/bsd/kern/kern_mman.c +++ b/bsd/kern/kern_mman.c @@ -1061,7 +1061,7 @@ kern_return_t map_fd_funneled( vm_map_copy_t tmp; int err=0; vm_map_t my_map; - struct proc *p =(struct proc *)(get_bsdtask_info(current_task())); + struct proc *p =(struct proc *)current_proc(); #if 0 extern int print_map_addr; #endif /* 0 */