aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_read_set_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_read_set_format.c')
-rw-r--r--libarchive/archive_read_set_format.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libarchive/archive_read_set_format.c b/libarchive/archive_read_set_format.c
index 1d3e49d16477..796dcdcced11 100644
--- a/libarchive/archive_read_set_format.c
+++ b/libarchive/archive_read_set_format.c
@@ -61,6 +61,9 @@ archive_read_set_format(struct archive *_a, int code)
case ARCHIVE_FORMAT_CPIO:
strcpy(str, "cpio");
break;
+ case ARCHIVE_FORMAT_EMPTY:
+ strcpy(str, "empty");
+ break;
case ARCHIVE_FORMAT_ISO9660:
strcpy(str, "iso9660");
break;
@@ -76,9 +79,15 @@ archive_read_set_format(struct archive *_a, int code)
case ARCHIVE_FORMAT_RAR_V5:
strcpy(str, "rar5");
break;
+ case ARCHIVE_FORMAT_RAW:
+ strcpy(str, "raw");
+ break;
case ARCHIVE_FORMAT_TAR:
strcpy(str, "tar");
break;
+ case ARCHIVE_FORMAT_WARC:
+ strcpy(str, "warc");
+ break;
case ARCHIVE_FORMAT_XAR:
strcpy(str, "xar");
break;