aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/test/tar_iterator3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tar/test/tar_iterator3.c')
-rw-r--r--lib/tar/test/tar_iterator3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tar/test/tar_iterator3.c b/lib/tar/test/tar_iterator3.c
index 0aee0e3..9fd5f59 100644
--- a/lib/tar/test/tar_iterator3.c
+++ b/lib/tar/test/tar_iterator3.c
@@ -6,10 +6,10 @@
* Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at>
*/
#include "config.h"
-#include "io/file.h"
#include "tar/tar.h"
#include "util/test.h"
#include "sqfs/error.h"
+#include "sqfs/io.h"
int main(int argc, char **argv)
{
@@ -23,7 +23,7 @@ int main(int argc, char **argv)
TEST_ASSERT(chdir(TEST_PATH) == 0);
- ret = istream_open_file(&fp, "format-acceptance/link_filled.tar");
+ ret = sqfs_istream_open_file(&fp, "format-acceptance/link_filled.tar");
TEST_EQUAL_I(ret, 0);
TEST_NOT_NULL(fp);
TEST_EQUAL_UI(((sqfs_object_t *)fp)->refcount, 1);