return kernel-supplied error if available.
Also fix field names in a comment.