mirror of
https://github.com/samba-team/samba.git
synced 2025-08-10 21:49:28 +03:00
Catch one more erroneous use of errno.
Jeremy.
This commit is contained in:
@ -420,7 +420,7 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex, int errcode)
|
||||
DEBUG( 3,( "handle_aio_write: file %s wanted %u bytes. "
|
||||
"nwritten == %d. Error = %s\n",
|
||||
fsp_str_dbg(fsp), (unsigned int)numtowrite,
|
||||
(int)nwritten, strerror(errno) ));
|
||||
(int)nwritten, strerror(errcode) ));
|
||||
|
||||
ret = errcode;
|
||||
ERROR_NT(map_nt_error_from_unix(ret));
|
||||
|
Reference in New Issue
Block a user