diff options
author | Martin Matuska <mm@FreeBSD.org> | 2011-12-20 20:06:33 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2011-12-20 20:06:33 +0000 |
commit | f6ccfb42a23c41712a3932247ea31750ccaed2f7 (patch) | |
tree | c60338ab5a43518824f6505a33d7628e6358c6e4 /lib/libarchive/archive_write_set_format_ar.c | |
parent | f873e4d1bddf9d9f99b799121dc72c745a974a1c (diff) |
Update libarchive, tar and cpio to version 2.8.5
The following additional vendor revisions are applied:
Revision 3740:
Use archive_clear_error() to clear the error markers.
Obtained from: http://code.google.com/p/libarchive
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=228745
Diffstat (limited to 'lib/libarchive/archive_write_set_format_ar.c')
-rw-r--r-- | lib/libarchive/archive_write_set_format_ar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_set_format_ar.c b/lib/libarchive/archive_write_set_format_ar.c index bffe07cba8f5..cb8ddaa203e7 100644 --- a/lib/libarchive/archive_write_set_format_ar.c +++ b/lib/libarchive/archive_write_set_format_ar.c @@ -440,7 +440,7 @@ archive_write_ar_finish_entry(struct archive_write *a) if (ar->entry_padding != 1) { archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, "Padding wrong size: %d should be 1 or 0", - ar->entry_padding); + (int)ar->entry_padding); return (ARCHIVE_WARN); } |