s3:smbd: change smb2_flush.c to use fsp_fnum_dbg() for fsp->fnum logging.
authorMichael Adam <obnox@samba.org>
Thu, 14 Jun 2012 11:16:44 +0000 (13:16 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 15 Jun 2012 01:28:15 +0000 (03:28 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_flush.c

index a0c3f71a8b57e0f629da701ba94b87cb5b258e26..4f314cd0ce2eb676426f1bef1e3725b3e058fc25 100644 (file)
@@ -128,8 +128,8 @@ static struct tevent_req *smbd_smb2_flush_send(TALLOC_CTX *mem_ctx,
        }
        state->smb2req = smb2req;
 
-       DEBUG(10,("smbd_smb2_flush: %s - fnum[%d]\n",
-                 fsp_str_dbg(fsp), fsp->fnum));
+       DEBUG(10,("smbd_smb2_flush: %s - %s\n",
+                 fsp_str_dbg(fsp), fsp_fnum_dbg(fsp)));
 
        smbreq = smbd_smb2_fake_smb_request(smb2req);
        if (tevent_req_nomem(smbreq, req)) {