diff options
Diffstat (limited to 'lib/tar/test/tar_simple.c')
-rw-r--r-- | lib/tar/test/tar_simple.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/tar/test/tar_simple.c b/lib/tar/test/tar_simple.c index 8ee5b84..ad9fdde 100644 --- a/lib/tar/test/tar_simple.c +++ b/lib/tar/test/tar_simple.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" #ifndef TESTUID #define TESTUID 1000 @@ -43,7 +43,8 @@ int main(int argc, char **argv) int ret; (void)argc; (void)argv; - ret = istream_open_file(&fp, STRVALUE(TESTPATH) "/" STRVALUE(TESTFILE)); + ret = sqfs_istream_open_file(&fp, + STRVALUE(TESTPATH) "/" STRVALUE(TESTFILE)); TEST_EQUAL_I(ret, 0); TEST_NOT_NULL(fp); TEST_ASSERT(read_header(fp, &hdr) == 0); |