aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_write_set_format_shar.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2008-03-15 11:04:45 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2008-03-15 11:04:45 +0000
commit0b315cd9ae430c8d1a1ea1af6b1548ebb116891c (patch)
tree7be5eb8b35baa3907c7b49e38c58aafb5bc3c194 /lib/libarchive/archive_write_set_format_shar.c
parentc43d294189a0dcbe6370c3ab9ed621fdf68f576d (diff)
Notes
Diffstat (limited to 'lib/libarchive/archive_write_set_format_shar.c')
-rw-r--r--lib/libarchive/archive_write_set_format_shar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libarchive/archive_write_set_format_shar.c b/lib/libarchive/archive_write_set_format_shar.c
index f832ec2a8b4f5..a7f2d8f468bfc 100644
--- a/lib/libarchive/archive_write_set_format_shar.c
+++ b/lib/libarchive/archive_write_set_format_shar.c
@@ -113,8 +113,8 @@ archive_write_set_format_shar(struct archive *_a)
a->format_destroy = archive_write_shar_destroy;
a->format_write_data = archive_write_shar_data_sed;
a->format_finish_entry = archive_write_shar_finish_entry;
- a->archive_format = ARCHIVE_FORMAT_SHAR_BASE;
- a->archive_format_name = "shar";
+ a->archive.archive_format = ARCHIVE_FORMAT_SHAR_BASE;
+ a->archive.archive_format_name = "shar";
return (ARCHIVE_OK);
}
@@ -134,8 +134,8 @@ archive_write_set_format_shar_dump(struct archive *_a)
shar = (struct shar *)a->format_data;
shar->dump = 1;
a->format_write_data = archive_write_shar_data_uuencode;
- a->archive_format = ARCHIVE_FORMAT_SHAR_DUMP;
- a->archive_format_name = "shar dump";
+ a->archive.archive_format = ARCHIVE_FORMAT_SHAR_DUMP;
+ a->archive.archive_format_name = "shar dump";
return (ARCHIVE_OK);
}