mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
vfs: Fix CID 1312073 Argument cannot be negative
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c3c024f74e
commit
d7a33d8b3d
@ -706,7 +706,7 @@ static bool vfswrap_init_asys_ctx(struct smbd_server_connection *conn)
|
||||
|
||||
ret = set_blocking(fd, false);
|
||||
if (ret != 0) {
|
||||
DBG_WARNING("set_blocking failed: %s\n", strerror(ret));
|
||||
DBG_WARNING("set_blocking failed: %s\n", strerror(errno));
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user