From cdfc301da9607ab9a0dbbd4ad89c5531ceab95fd Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 14 Jun 2012 12:54:28 +0200 Subject: s3:smbd: change open.c to use fsp_fnum_dbg() for fsp->fnum logging. Signed-off-by: Stefan Metzmacher --- source3/smbd/open.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd') diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 189614a4b9..8fa28be096 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -3074,8 +3074,8 @@ void msg_file_was_renamed(struct messaging_context *msg, fsp = file_find_di_next(fsp)) { if (memcmp(fsp->conn->connectpath, sharepath, sp_len) == 0) { - DEBUG(10,("msg_file_was_renamed: renaming file fnum %d from %s -> %s\n", - fsp->fnum, fsp_str_dbg(fsp), + DEBUG(10,("msg_file_was_renamed: renaming file %s from %s -> %s\n", + fsp_fnum_dbg(fsp), fsp_str_dbg(fsp), smb_fname_str_dbg(smb_fname))); status = fsp_set_smb_fname(fsp, smb_fname); if (!NT_STATUS_IS_OK(status)) { @@ -3087,10 +3087,10 @@ void msg_file_was_renamed(struct messaging_context *msg, actually within this share and adjust newname accordingly. */ DEBUG(10,("msg_file_was_renamed: share mismatch (sharepath %s " "not sharepath %s) " - "fnum %d from %s -> %s\n", + "%s from %s -> %s\n", fsp->conn->connectpath, sharepath, - fsp->fnum, + fsp_fnum_dbg(fsp), fsp_str_dbg(fsp), smb_fname_str_dbg(smb_fname))); } -- cgit