]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Define EBADSLT to 57
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Mon, 2 Jan 2023 22:48:16 +0000 (23:48 +0100)
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Mon, 16 Jan 2023 18:27:21 +0000 (19:27 +0100)
commite8ce32bea30d599b481735a1d1b0a87ac06c5a66
tree2ce3384e801fb958ffd685ae9cd1fa2fd442647e
parentcf8f392260bf8e9b4e088f26f81ddb96bd97e91c
linuxkpi: Define EBADSLT to 57

This is the same error code as Linux.

As emaste@ noted in the review, FreeBSD defines the following errno
values in `sys/errno.h`:
* 56 is `EISCONN`
* 57 is `ENOTCONN`

Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D37935
sys/compat/linuxkpi/common/include/linux/errno.h