From 4d66d9f6dd197bd9e86b9be48bc3cf4ea9e3c160 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 14 Jun 2012 12:41:09 +0200 Subject: s3:smbd: change aio.c to use fsp_fnum_dbg() for logging fsp->fnum. Signed-off-by: Stefan Metzmacher --- source3/smbd/aio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c index 131094de36..7ba0bdc066 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; -- cgit