Style.
Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
a744f4edcd
commit
fe0a8a3994
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314562
@ -413,9 +413,8 @@ __elfN(map_partial)(vm_map_t map, vm_object_t object, vm_ooffset_t offset,
|
||||
error = copyout((caddr_t)sf_buf_kva(sf) + off, (caddr_t)start,
|
||||
end - start);
|
||||
vm_imgact_unmap_page(sf);
|
||||
if (error) {
|
||||
if (error != 0)
|
||||
return (KERN_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
return (KERN_SUCCESS);
|
||||
|
Loading…
Reference in New Issue
Block a user