aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/test/tar_iterator.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tar/test/tar_iterator.c')
-rw-r--r--lib/tar/test/tar_iterator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tar/test/tar_iterator.c b/lib/tar/test/tar_iterator.c
index 6931a7c..cd24c94 100644
--- a/lib/tar/test/tar_iterator.c
+++ b/lib/tar/test/tar_iterator.c
@@ -46,7 +46,7 @@ int main(int argc, char **argv)
TEST_EQUAL_I(iret, 0);
TEST_NOT_NULL(fp);
TEST_EQUAL_UI(((sqfs_object_t *)fp)->refcount, 1);
- it = tar_open_stream(fp);
+ it = tar_open_stream(fp, NULL);
TEST_NOT_NULL(it);
TEST_EQUAL_UI(((sqfs_object_t *)fp)->refcount, 2);
TEST_EQUAL_UI(((sqfs_object_t *)it)->refcount, 1);
@@ -115,7 +115,7 @@ int main(int argc, char **argv)
0);
TEST_EQUAL_I(iret, 0);
TEST_NOT_NULL(fp);
- it = tar_open_stream(fp);
+ it = tar_open_stream(fp, NULL);
TEST_NOT_NULL(it);
/* read entry */