s3:smbd: change smb2_notify.c to use fsp_fnum_dbg() for fsp->fnum logging.
authorMichael Adam <obnox@samba.org>
Thu, 14 Jun 2012 11:23:11 +0000 (13:23 +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_notify.c

index 6a5df016a4f3bba5792a28a989a7fd5a7fb13e90..20496c1c2c12961e975810b18ac46f4bed6374f1 100644 (file)
@@ -209,8 +209,8 @@ static struct tevent_req *smbd_smb2_notify_send(TALLOC_CTX *mem_ctx,
        state->out_output_buffer = data_blob_null;
        state->im = NULL;
 
-       DEBUG(10,("smbd_smb2_notify_send: %s - fnum[%d]\n",
-                 fsp_str_dbg(fsp), fsp->fnum));
+       DEBUG(10,("smbd_smb2_notify_send: %s - %s\n",
+                 fsp_str_dbg(fsp), fsp_fnum_dbg(fsp)));
 
        smbreq = smbd_smb2_fake_smb_request(smb2req);
        if (tevent_req_nomem(smbreq, req)) {