aboutsummaryrefslogtreecommitdiff
path: root/contrib/libarchive/libarchive/test/test_write_filter_lzop.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libarchive/libarchive/test/test_write_filter_lzop.c')
-rw-r--r--contrib/libarchive/libarchive/test/test_write_filter_lzop.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/libarchive/libarchive/test/test_write_filter_lzop.c b/contrib/libarchive/libarchive/test/test_write_filter_lzop.c
index 18fc332b44ff..87843f49bd3b 100644
--- a/contrib/libarchive/libarchive/test/test_write_filter_lzop.c
+++ b/contrib/libarchive/libarchive/test/test_write_filter_lzop.c
@@ -25,8 +25,6 @@
*/
#include "test.h"
-__FBSDID("$FreeBSD$");
-
/*
* A basic exercise of lzop reading and writing.
*/
@@ -57,7 +55,7 @@ DEFINE_TEST(test_write_filter_lzop)
assert(NULL != (buff = (char *)malloc(buffsize)));
datasize = 10000;
- assert(NULL != (data = (char *)calloc(1, datasize)));
+ assert(NULL != (data = (char *)calloc(datasize, 1)));
filecount = 10;
/*