s3: Change fsp->fsp_name to be an smb_filename struct!
[samba.git] / source3 / smbd / smb2_flush.c
index 8ce683923b570a8daaaa9be29b538c867b12404d..1d3ae2eb06b3484e4ee85e277bf03844be1afff0 100644 (file)
@@ -176,7 +176,7 @@ static struct tevent_req *smbd_smb2_flush_send(TALLOC_CTX *mem_ctx,
        status = sync_file(smbreq->conn, fsp, true);
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(5,("smbd_smb2_flush: sync_file for %s returned %s\n",
-                       fsp->fsp_name, nt_errstr(status)));
+                        fsp_str_dbg(fsp), nt_errstr(status)));
                tevent_req_nterror(req, status);
                return tevent_req_post(req, ev);
        }