summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-14 12:54:28 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-15 03:28:14 +0200
commitcdfc301da9607ab9a0dbbd4ad89c5531ceab95fd (patch)
treee4b5361ccb67c9737e709d69d2bed2455d628782 /source3
parentb4f6ef4e956f3d61aaa3cf83b690530e92c51d4d (diff)
downloadsamba-cdfc301da9607ab9a0dbbd4ad89c5531ceab95fd.tar.gz
samba-cdfc301da9607ab9a0dbbd4ad89c5531ceab95fd.tar.bz2
samba-cdfc301da9607ab9a0dbbd4ad89c5531ceab95fd.zip
s3:smbd: change open.c to use fsp_fnum_dbg() for fsp->fnum logging.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c8
1 files changed, 4 insertions, 4 deletions
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)));
}