summaryrefslogtreecommitdiffstats
path: root/source3/smbd/aio.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-14 12:41:09 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-15 03:28:14 +0200
commit4d66d9f6dd197bd9e86b9be48bc3cf4ea9e3c160 (patch)
tree6402f0f251b0ce362997c5979c19317c306a4f48 /source3/smbd/aio.c
parenteae8740ebef61a1ecb42260fafc17f453aae2f3c (diff)
downloadsamba-4d66d9f6dd197bd9e86b9be48bc3cf4ea9e3c160.tar.gz
samba-4d66d9f6dd197bd9e86b9be48bc3cf4ea9e3c160.tar.xz
samba-4d66d9f6dd197bd9e86b9be48bc3cf4ea9e3c160.zip
s3:smbd: change aio.c to use fsp_fnum_dbg() for logging fsp->fnum.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/aio.c')
-rw-r--r--source3/smbd/aio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index 131094de360..7ba0bdc0667 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -723,8 +723,8 @@ static int handle_aio_write_complete(struct aio_extra *aio_ex, int errcode)
SSVAL(outbuf,smb_err,ERRdiskfull);
}
- DEBUG(3,("handle_aio_write: fnum=%d num=%d wrote=%d\n",
- fsp->fnum, (int)numtowrite, (int)nwritten));
+ DEBUG(3,("handle_aio_write: %s, num=%d wrote=%d\n",
+ fsp_fnum_dbg(fsp), (int)numtowrite, (int)nwritten));
status = sync_file(fsp->conn,fsp, aio_ex->write_through);
if (!NT_STATUS_IS_OK(status)) {
errcode = errno;