diff options
author | Jeremy Allison <jra@samba.org> | 2001-08-07 00:36:10 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-08-07 00:36:10 +0000 |
commit | d851036d8205a13f64f3a14db8a60e72fbeee7d6 (patch) | |
tree | 546bf00facc0827a27a919eab03d62b2d3a2f0d3 | |
parent | a2bac4d2caa0a6533798abc194e4cc837d816d39 (diff) | |
download | samba-d851036d8205a13f64f3a14db8a60e72fbeee7d6.tar.gz samba-d851036d8205a13f64f3a14db8a60e72fbeee7d6.tar.bz2 samba-d851036d8205a13f64f3a14db8a60e72fbeee7d6.zip |
Correctly report amount written in debug when allocation space.
Jeremy.
(This used to be commit d1e7cf6073f2dcb91ec468f5f249610dd9f1623a)
-rw-r--r-- | source3/smbd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 70e0c8657b..9709fc6a20 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -368,7 +368,7 @@ int vfs_allocate_file_space(files_struct *fsp, SMB_OFF_T len) } DEBUG(10,("vfs_allocate_file_space: file %s, grow. wrote %.0f\n", - fsp->fsp_name, (double)current_len_to_write )); + fsp->fsp_name, (double)retlen )); len_to_write -= retlen; } |