From 767a479c37b3a718c41b86c8356c0d869566e68b Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Tue, 24 Dec 2013 13:05:04 -0800 Subject: [PATCH] Write the total number of bytes copied by nfs-cp, not just the last block written. --- examples/nfs-cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1