summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-14 12:52:52 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-15 03:28:14 +0200
commitb4f6ef4e956f3d61aaa3cf83b690530e92c51d4d (patch)
treecf73eb1a443cfc719e6560976f9ed4e273fc5957 /source3/smbd
parent93dd5a80cd7a87d654d4b4c8295c1fd381df5c8b (diff)
downloadsamba-b4f6ef4e956f3d61aaa3cf83b690530e92c51d4d.tar.gz
samba-b4f6ef4e956f3d61aaa3cf83b690530e92c51d4d.tar.bz2
samba-b4f6ef4e956f3d61aaa3cf83b690530e92c51d4d.zip
s3:smbd: change nttrans.c to use fsp_fnum_dbg() for fsp->fnum logging.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index f7a27187e8..3721125166 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -731,8 +731,8 @@ void reply_ntcreate_and_X(struct smb_request *req)
SIVAL(p,0,perms);
}
- DEBUG(5,("reply_ntcreate_and_X: fnum = %d, open name = %s\n",
- fsp->fnum, smb_fname_str_dbg(smb_fname)));
+ DEBUG(5,("reply_ntcreate_and_X: %s, open name = %s\n",
+ fsp_fnum_dbg(fsp), smb_fname_str_dbg(smb_fname)));
out:
END_PROFILE(SMBntcreateX);
@@ -2463,7 +2463,9 @@ static void call_nt_transact_get_user_quota(connection_struct *conn,
break;
default:
- DEBUG(0,("do_nt_transact_get_user_quota: fnum %d unknown level 0x%04hX\n",fsp->fnum,level));
+ DEBUG(0, ("do_nt_transact_get_user_quota: %s: unknown "
+ "level 0x%04hX\n",
+ fsp_fnum_dbg(fsp), level));
reply_nterror(req, NT_STATUS_INVALID_LEVEL);
return;
break;