From 849e6718448793b12d7c6641d59779ca12a2ba08 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 15 Jun 2023 16:21:05 +0200 Subject: libsquashfs: cleanup the flag situation on istream/ostream functions - The ostream creation functions already have flag arguments, but make them an sqfs_u32 instead of int. - Add flag arguments to the istream functions, sanitzie and forward them when opening the handle. Signed-off-by: David Oberhollenzer --- lib/tar/test/tar_write_simple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/tar/test/tar_write_simple.c') diff --git a/lib/tar/test/tar_write_simple.c b/lib/tar/test/tar_write_simple.c index bc1b93e..438ea37 100644 --- a/lib/tar/test/tar_write_simple.c +++ b/lib/tar/test/tar_write_simple.c @@ -188,7 +188,8 @@ int main(int argc, char **argv) TEST_EQUAL_UI(sizeof(rd_buffer), sizeof(wr_buffer)); ret = sqfs_istream_open_file(&fp, - STRVALUE(TESTPATH) "/" STRVALUE(TESTFILE)); + STRVALUE(TESTPATH) "/" STRVALUE(TESTFILE), + 0); TEST_EQUAL_I(ret, 0); TEST_NOT_NULL(fp); -- cgit v1.2.3