diff options
author | kientzle <kientzle@FreeBSD.org> | 2009-12-28 03:03:00 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2009-12-28 03:03:00 +0000 |
commit | 4fa2e480dcddb459d7126ad918b7301dbf336457 (patch) | |
tree | 2780672b0addba1b65ededf3d3acf89edb49a80b /lib | |
parent | b1d1d36a226d1eb449da0728a90e9aaadcf5a109 (diff) | |
download | FreeBSD-src-4fa2e480dcddb459d7126ad918b7301dbf336457.zip FreeBSD-src-4fa2e480dcddb459d7126ad918b7301dbf336457.tar.gz |
Use new ino64 interface.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libarchive/archive_write.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libarchive/archive_write.c b/lib/libarchive/archive_write.c index ef34929..cd53fa1 100644 --- a/lib/libarchive/archive_write.c +++ b/lib/libarchive/archive_write.c @@ -312,7 +312,6 @@ archive_write_open(struct archive *_a, void *client_data, struct archive_write *a = (struct archive_write *)_a; int ret; - ret = ARCHIVE_OK; __archive_check_magic(&a->archive, ARCHIVE_WRITE_MAGIC, ARCHIVE_STATE_NEW, "archive_write_open"); archive_clear_error(&a->archive); @@ -423,7 +422,7 @@ _archive_write_header(struct archive *_a, struct archive_entry *entry) if (a->skip_file_dev != 0 && archive_entry_dev(entry) == a->skip_file_dev && a->skip_file_ino != 0 && - archive_entry_ino(entry) == a->skip_file_ino) { + archive_entry_ino64(entry) == a->skip_file_ino) { archive_set_error(&a->archive, 0, "Can't add archive to itself"); return (ARCHIVE_FAILED); |