svn commit: r314562 - head/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Thu Mar 2 17:35:14 UTC 2017
Author: kib
Date: Thu Mar 2 17:35:13 2017
New Revision: 314562
URL: https://svnweb.freebsd.org/changeset/base/314562
Log:
Style.
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Modified:
head/sys/kern/imgact_elf.c
Modified: head/sys/kern/imgact_elf.c
==============================================================================
--- head/sys/kern/imgact_elf.c Thu Mar 2 17:31:59 2017 (r314561)
+++ head/sys/kern/imgact_elf.c Thu Mar 2 17:35:13 2017 (r314562)
@@ -413,9 +413,8 @@ __elfN(map_partial)(vm_map_t map, vm_obj
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);
More information about the svn-src-all
mailing list