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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libarchive/archive_read_set_format.c b/libarchive/archive_read_set_format.c
index 190f4369d248..1d3e49d16477 100644
--- a/libarchive/archive_read_set_format.c
+++ b/libarchive/archive_read_set_format.c
@@ -73,6 +73,9 @@ archive_read_set_format(struct archive *_a, int code)
case ARCHIVE_FORMAT_RAR:
strcpy(str, "rar");
break;
+ case ARCHIVE_FORMAT_RAR_V5:
+ strcpy(str, "rar5");
+ break;
case ARCHIVE_FORMAT_TAR:
strcpy(str, "tar");
break;