aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/test/tar_sparse.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 15:16:03 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 15:16:03 +0200
commit484cd01590ec488cca1f8a5c7c76cd223609e299 (patch)
tree0e3bc268688c2feb8773871a43381a998ce846e7 /lib/tar/test/tar_sparse.c
parent8cf84b4995552bad4e77eb795e36c0b1d65a720a (diff)
Migrate file istream/ostream from libio to libsquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/test/tar_sparse.c')
-rw-r--r--lib/tar/test/tar_sparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tar/test/tar_sparse.c b/lib/tar/test/tar_sparse.c
index d93482d..49b2064 100644
--- a/lib/tar/test/tar_sparse.c
+++ b/lib/tar/test/tar_sparse.c
@@ -5,9 +5,9 @@
* 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/io.h"
static void test_case_sparse(const char *path)
{
@@ -16,7 +16,7 @@ static void test_case_sparse(const char *path)
sqfs_istream_t *fp;
int ret;
- ret = istream_open_file(&fp, path);
+ ret = sqfs_istream_open_file(&fp, path);
TEST_EQUAL_I(ret, 0);
TEST_NOT_NULL(fp);
TEST_ASSERT(read_header(fp, &hdr) == 0);