Style.
Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
a744f4edcd
commit
fe0a8a3994
@ -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…
x
Reference in New Issue
Block a user