Skip to content

Commit 6e2131c

Browse files
committed
fix deprecation warning in rdup-tr.c
when compiling with libarchive 3.1.2 in Arch Linux a deprecation warning for archive_write_finish stopped the compilation
1 parent 4bdcf4e commit 6e2131c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rdup-tr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ stdin2archive(void)
364364

365365
if (opt_output != O_RDUP) {
366366
archive_write_close(archive);
367-
archive_write_finish(archive);
367+
archive_write_free(archive);
368368
}
369369
g_free(readbuf);
370370
g_free(buf);

0 commit comments

Comments
 (0)