HomeFreeBSD

compat_freebsd4: Fix handling of errors from subyte()

Description

compat_freebsd4: Fix handling of errors from subyte()

Upon failure, subyte() returns -1, not an errno value.

MFC after: 1 week

(cherry picked from commit c38df501ce2ed7da128448f815ec627c39fd3bad)

Details

Provenance
markjAuthored on Dec 26 2023, 1:43 AM
Parents
rG9b28f3f03236: iscsi: Check for copyout errors in iscsi_ioctl_daemon_receive()
Branches
Unknown
Tags
Unknown