1
0
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:
Jeremy Allison
2009-10-13 13:03:39 -07:00
parent 367cb714a3
commit df22f8dbd9

View File

@ -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));