]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Correctly report amount written in debug when allocation space.
authorJeremy Allison <jra@samba.org>
Tue, 7 Aug 2001 00:36:10 +0000 (00:36 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 7 Aug 2001 00:36:10 +0000 (00:36 +0000)
Jeremy.

source/smbd/vfs.c

index 70e0c8657bf33a9df92a7dedcf80da736ac39556..9709fc6a20e41e8bc6c3a579ea2c0889f8f10034 100644 (file)
@@ -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;
                }