From: Ronnie Sahlberg Date: Tue, 24 Dec 2013 21:05:04 +0000 (-0800) Subject: Write the total number of bytes copied by nfs-cp, not just the last block written. X-Git-Tag: upstream/1.9.6^2~164 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=767a479c37b3a718c41b86c8356c0d869566e68b;p=deb_libnfs.git Write the total number of bytes copied by nfs-cp, not just the last block written. --- diff --git a/examples/nfs-cp.c b/examples/nfs-cp.c index 3d25189..bedc9bb 100644 --- a/examples/nfs-cp.c +++ b/examples/nfs-cp.c @@ -297,7 +297,7 @@ int main(int argc, char *argv[]) off += count; } - printf("copied %d bytes\n", (int)count); + printf("copied %d bytes\n", (int)off); free_file_context(src); free_file_context(dst);