HomeFreeBSD

vmm: Fix handling of errors from subyte()

Description

vmm: Fix handling of errors from subyte()

subyte() returns -1 upon an error, not an errno value.

MFC after: 1 week
Fixes: e17eca327633 ("vmm: Avoid embedding cpuset_t ioctl ABIs")

Details

Provenance
markjAuthored on Dec 26 2023, 1:43 AM
Parents
rGc38df501ce2e: compat_freebsd4: Fix handling of errors from subyte()
Branches
Unknown
Tags
Unknown