o Hold copied bytes counter in off_t. This prevents statistics

displayed by SIGINFO handler from overflow.

PR:		bin/104039
Submitted by:	Geoffrey Giesemann
MFC after:	2 weeks
This commit is contained in:
Maxim Konovalov 2006-10-06 08:30:33 +00:00
parent 04c7da702f
commit 6a861e9bfb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163049

View File

@ -64,7 +64,7 @@ copy_file(const FTSENT *entp, int dne)
int ch, checkch, from_fd = 0, rcount, rval, to_fd = 0;
ssize_t wcount;
size_t wresid;
size_t wtotal;
off_t wtotal;
char *bufp;
#ifdef VM_AND_BUFFER_CACHE_SYNCHRONIZED
char *p;