summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-06-14 12:57:25 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-15 03:28:14 +0200
commit3d7befa8f0d1809273ff5089c1c0a968f7f29794 (patch)
treef798c17e4ddcca2b1ae705f05e58f0f205a80cd3 /source3/smbd
parentcd37c68fad18deaedebec9d200b2c75ba72788b6 (diff)
downloadsamba-3d7befa8f0d1809273ff5089c1c0a968f7f29794.tar.gz
samba-3d7befa8f0d1809273ff5089c1c0a968f7f29794.tar.bz2
samba-3d7befa8f0d1809273ff5089c1c0a968f7f29794.zip
s3:smbd: change pipes.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/pipes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/pipes.c b/source3/smbd/pipes.c
index bb62739eba..9cca3f03c1 100644
--- a/source3/smbd/pipes.c
+++ b/source3/smbd/pipes.c
@@ -203,7 +203,7 @@ void reply_pipe_write(struct smb_request *req)
data = req->buf + 3;
- DEBUG(6, ("reply_pipe_write: %x name: %s len: %d\n", (int)fsp->fnum,
+ DEBUG(6, ("reply_pipe_write: %s, name: %s len: %d\n", fsp_fnum_dbg(fsp),
fsp_str_dbg(fsp), (int)state->numtowrite));
subreq = np_write_send(state, req->sconn->ev_ctx,
@@ -299,8 +299,8 @@ void reply_pipe_write_and_X(struct smb_request *req)
((SVAL(req->vwv+7, 0) & (PIPE_START_MESSAGE|PIPE_RAW_MODE))
== (PIPE_START_MESSAGE|PIPE_RAW_MODE));
- DEBUG(6, ("reply_pipe_write_and_X: %x name: %s len: %d\n",
- (int)fsp->fnum, fsp_str_dbg(fsp), (int)state->numtowrite));
+ DEBUG(6, ("reply_pipe_write_and_X: %s, name: %s len: %d\n",
+ fsp_fnum_dbg(fsp), fsp_str_dbg(fsp), (int)state->numtowrite));
data = (const uint8_t *)smb_base(req->inbuf) + smb_doff;