diff options
author | Jeremy Allison <jra@samba.org> | 2010-05-25 11:39:46 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-05-25 11:39:46 -0700 |
commit | 475531c9bb6c2d4b522a77d0ced09a9775704085 (patch) | |
tree | 5cbd92fbb68ea9ed5e0d5c25ad8c8d2103827fb0 /source3/smbd/smb2_write.c | |
parent | aa51fa0ce34cc36ad757bb5ab1450c37631bb082 (diff) | |
download | samba-475531c9bb6c2d4b522a77d0ced09a9775704085.tar.gz |
Standardize debug messages for read and write.
Jeremy.
Diffstat (limited to 'source3/smbd/smb2_write.c')
-rw-r--r-- | source3/smbd/smb2_write.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index ae98c812e9..c3ac816c59 100644 --- a/source3/smbd/smb2_write.c +++ b/source3/smbd/smb2_write.c @@ -287,9 +287,11 @@ static struct tevent_req *smbd_smb2_write_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } - DEBUG(3,("smbd_smb2_write: fnum=[%d/%s] length=%d offset=%d wrote=%d\n", - fsp->fnum, fsp_str_dbg(fsp), (int)in_data.length, - (int)in_offset, (int)nwritten)); + DEBUG(3,("smbd_smb2_write: fnum=[%d/%s] length=%lu offset=%lu wrote=%lu\n", + fsp->fnum, fsp_str_dbg(fsp), + (unsigned long)in_data.length, + (unsigned long)in_offset, + (unsigned long)nwritten)); if (in_flags & 0x00000001) { write_through = true; |