summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/vfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
index 834d75266e..84aa81c38c 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
@@ -362,6 +362,8 @@ int vfs_allocate_file_space(files_struct *fsp, SMB_OFF_T len)
int save_errno = errno;
fsp->conn->vfs_ops.ftruncate(fsp, fsp->fd, st.st_size);
errno = save_errno;
+ DEBUG(10,("vfs_allocate_file_space: file %s, grow. write fail %s\n",
+ fsp->fsp_name, strerror(errno) ));
return -1;
}