summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2007-12-27 19:56:44 +0100
committerVolker Lendecke <vl@samba.org>2007-12-27 22:32:36 +0100
commitbd7fc51f2d26ba238b68db83106883bfa1fe1d7b (patch)
tree6c2b2bf39bd2f2a9dcd0827faf21b4487b5bf3f5
parentee8212472d29a5a23011d0331ad693494dcd1034 (diff)
downloadsamba-bd7fc51f2d26ba238b68db83106883bfa1fe1d7b.tar.gz
samba-bd7fc51f2d26ba238b68db83106883bfa1fe1d7b.tar.bz2
samba-bd7fc51f2d26ba238b68db83106883bfa1fe1d7b.zip
Fix the build
(This used to be commit 7fb858b350856d626fed6f062029fcf09b8251e2)
-rw-r--r--source3/smbd/aio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index f13393b764..a439c3a4f0 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -496,7 +496,7 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex)
}
ret = errno;
- ERROR_BOTH(ERRHRD, ERRdiskfull, map_nt_error_from_unix(ret));
+ ERROR_BOTH(map_nt_error_from_unix(ret), ERRHRD, ERRdiskfull);
srv_set_message(inbuf,outbuf,0,0,true);
} else {
bool write_through = BITSETW(aio_ex->inbuf+smb_vwv7,0);
@@ -514,7 +514,8 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex)
status = sync_file(fsp->conn,fsp, write_through);
if (!NT_STATUS_IS_OK(status)) {
ret = errno;
- ERROR_BOTH(ERRHRD, ERRdiskfull, map_nt_error_from_unix(ret));
+ ERROR_BOTH(map_nt_error_from_unix(ret),
+ ERRHRD, ERRdiskfull);
srv_set_message(inbuf,outbuf,0,0,true);
DEBUG(5,("handle_aio_write: sync_file for %s returned %s\n",
fsp->fsp_name, nt_errstr(status) ));