summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-03-25 14:53:35 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-03-25 14:53:35 (GMT)
commit79109281ed47427b88e1cc5eae8325954cc7de80 (patch)
tree526c93d5b5cc5eac195143249f0ff6f70aee6ec0 /unix
parent851cf874f33c0a191357ff2968e12e7a91147b85 (diff)
downloadtcl-79109281ed47427b88e1cc5eae8325954cc7de80.zip
tcl-79109281ed47427b88e1cc5eae8325954cc7de80.tar.gz
tcl-79109281ed47427b88e1cc5eae8325954cc7de80.tar.bz2
* unix/tclUnixFCmd.c (TclUnixCopyFile): [Bug 2976504]: Corrected
number of arguments to fstatfs() call.
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixFCmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c
index 851c979..daa40da 100644
--- a/unix/tclUnixFCmd.c
+++ b/unix/tclUnixFCmd.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixFCmd.c,v 1.75 2010/03/05 14:34:04 dkf Exp $
+ * RCS: @(#) $Id: tclUnixFCmd.c,v 1.76 2010/03/25 14:53:35 dkf Exp $
*
* Portions of this code were derived from NetBSD source code which has the
* following copyright notice:
@@ -554,7 +554,7 @@ TclUnixCopyFile(
{
struct statfs fs;
- if (fstatfs(srcFd, &fs, sizeof(fs), 0) == 0) {
+ if (fstatfs(srcFd, &fs) == 0) {
blockSize = fs.f_bsize;
} else {
blockSize = DEFAULT_COPY_BLOCK_SIZE;