Return -EINVAL instead of -EFAULT.

"Only return -EFAULT if there is a memory error.
This should be -EINVAL right"