vkernel - Fix copyin/copyout to return the correct error code
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 27 Mar 2013 01:09:15 +0000 (18:09 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 27 Mar 2013 01:09:15 +0000 (18:09 -0700)
commit56f3779c91a2cb1e7bac25ed34ce0619ef4e853d
treed99178c4cfce3b4bea57daf11ab9e02b042135da
parentd846739acfd459caff6deb630e926d0ead3c14d6
vkernel - Fix copyin/copyout to return the correct error code

* These functions must return EFAULT on error, not a KERN_* error code.
sys/platform/vkernel/platform/copyio.c
sys/platform/vkernel64/platform/copyio.c