Skip to content

Commit 0cc48ea

Browse files
committed
Another fix, thanks to Daniel Mack.
SVN-Revision: 1409
1 parent 6b0a5bc commit 0cc48ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/untar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ extract(const char *filename, int do_extract, int flags)
176176
r = archive_write_header(ext, entry);
177177
if (r != ARCHIVE_OK)
178178
warn("archive_write_header()",
179-
archive_error_string(a));
179+
archive_error_string(ext));
180180
else {
181181
copy_data(a, ext);
182182
r = archive_write_finish_entry(ext);

0 commit comments

Comments
 (0)