]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
compat_freebsd4: Fix handling of errors from subyte()
authorMark Johnston <markj@FreeBSD.org>
Tue, 26 Dec 2023 01:43:38 +0000 (20:43 -0500)
committerMark Johnston <markj@FreeBSD.org>
Tue, 26 Dec 2023 02:04:01 +0000 (21:04 -0500)
commitc38df501ce2ed7da128448f815ec627c39fd3bad
treee03b1171ded0d81974aa9060e53ff9be5b45df98
parent74e713804fa4767991c5f20e6b85da4235107122
compat_freebsd4: Fix handling of errors from subyte()

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

MFC after: 1 week
sys/kern/kern_xxx.c