repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Write the total number of bytes copied by nfs-cp, not just the last block written.
[deb_libnfs.git]
/
examples
/
nfs-cp.c
diff --git
a/examples/nfs-cp.c
b/examples/nfs-cp.c
index 3d25189ca57b263718e60bd4c9af2557f17dfef7..bedc9bb9ab525be3115ce72bdf1e65ab930e0624 100644
(file)
--- 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);