summaryrefslogtreecommitdiff
path: root/tar/write.c
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-10-07 14:01:15 +0900
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-10-07 14:01:15 +0900
commit4187df11b662d387d5e4c31df0f88083b5e54eef (patch)
tree2a065430a2d9d214927eca6f14c2f84f687bc1cb /tar/write.c
parent7ef6dae82df073b6f2bedbcfc58a70e172376391 (diff)
downloadlibarchive-4187df11b662d387d5e4c31df0f88083b5e54eef.tar.gz
Stop using deprecated functions. Much remains to be replaced.
s/archive_position_uncompressed(a)/archive_filter_bytes(a, 0)/
Diffstat (limited to 'tar/write.c')
-rw-r--r--tar/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tar/write.c b/tar/write.c
index 1a24bdfc..7f5e03e4 100644
--- a/tar/write.c
+++ b/tar/write.c
@@ -952,7 +952,7 @@ report_write(struct bsdtar *bsdtar, struct archive *a,
if (bsdtar->verbose)
fprintf(stderr, "\n");
comp = archive_position_compressed(a);
- uncomp = archive_position_uncompressed(a);
+ uncomp = archive_filter_bytes(a, 0);
fprintf(stderr, "In: %d files, %s bytes;",
archive_file_count(a), tar_i64toa(uncomp));
if (comp > uncomp)