diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-03-25 14:52:32 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-03-25 14:52:32 (GMT) |
| commit | 5eedfd8b77523fbe36d4427d1242322d192cbb93 (patch) | |
| tree | f86065cfdbf44ff3ffddf01d9a40b0c09270a850 /unix/tclUnixFCmd.c | |
| parent | 3a5a090f8de2c4a7222acbd4994f7cb50fee2aad (diff) | |
| download | tcl-5eedfd8b77523fbe36d4427d1242322d192cbb93.zip tcl-5eedfd8b77523fbe36d4427d1242322d192cbb93.tar.gz tcl-5eedfd8b77523fbe36d4427d1242322d192cbb93.tar.bz2 | |
* unix/tclUnixFCmd.c (TclUnixCopyFile): [Bug 2976504]: Corrected
number of arguments to fstatfs() call.
Diffstat (limited to 'unix/tclUnixFCmd.c')
| -rw-r--r-- | unix/tclUnixFCmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixFCmd.c b/unix/tclUnixFCmd.c index c42c370..4812ad0 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.65.2.2 2009/11/25 14:31:40 stwo Exp $ + * RCS: @(#) $Id: tclUnixFCmd.c,v 1.65.2.3 2010/03/25 14:52:34 dkf Exp $ * * Portions of this code were derived from NetBSD source code which has the * following copyright notice: @@ -550,7 +550,7 @@ TclUnixCopyFile( { struct statfs fs; - if (fstatfs(srcFd, &fs, sizeof(fs), 0) == 0) { + if (fstatfs(srcFd, &fs) == 0) { blockSize = fs.f_bsize; } else { blockSize = 4096; |
