summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/close.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index fcb65e1331..94923b6db2 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -142,7 +142,8 @@ void close_file(files_struct *fsp, BOOL normal_close)
*/
if (normal_close && last_reference && delete_on_close) {
- DEBUG(5,("close_file: file %s. Delete on close was set - deleting file.\n"));
+ DEBUG(5,("close_file: file %s. Delete on close was set - deleting file.\n",
+ fsp->fsp_name));
if(dos_unlink(fsp->fsp_name) != 0) {
/*