s3:ctdbd_conn: Fix the build on FreeBSD
commita6ff80cdc1b16f32716bc54c052e8fa8b149b4f9
authorMartin Schwenke <martin@meltin.net>
Tue, 20 Oct 2020 03:47:20 +0000 (20 14:47 +1100)
committerMartin Schwenke <martins@samba.org>
Tue, 20 Oct 2020 07:22:08 +0000 (20 07:22 +0000)
treed74caaf24b45986ec0015526b97df720fc4e283e
parent930695b04d2c3984c4e335ff25471b2432885884
s3:ctdbd_conn: Fix the build on FreeBSD

Commit 6b9564c1084d8dc7319857fac984808571ef0eb9 broke the build on
FreeBSD:

[2321/3909] Compiling source3/smbd/process.c
../../source3/smbd/process.c:2797:10: error: use of undeclared identifier 'EREMOTEIO'
                return EREMOTEIO;
                       ^
../../source3/smbd/process.c:2833:14: error: use of undeclared identifier 'EREMOTEIO'
                if (ret == EREMOTEIO) {
                           ^
2 errors generated.

Use one of the POSIX error codes instead.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Tue Oct 20 07:22:08 UTC 2020 on sn-devel-184
source3/smbd/process.c