aboutsummaryrefslogtreecommitdiff
path: root/lib/util/test
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 16:21:05 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 16:39:14 +0200
commit849e6718448793b12d7c6641d59779ca12a2ba08 (patch)
treefa76f15435517cbfdfadef23411f64244a861162 /lib/util/test
parentd748c7114d2f06378ad0c76b6c981521dbcee92d (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util/test')
-rw-r--r--lib/util/test/str_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/test/str_table.c b/lib/util/test/str_table.c
index 02e5e67..b146773 100644
--- a/lib/util/test/str_table.c
+++ b/lib/util/test/str_table.c
@@ -21,7 +21,7 @@ static int read_strings(void)
char *line;
int i;
- i = sqfs_istream_open_file(&fp, "words.txt");
+ i = sqfs_istream_open_file(&fp, "words.txt", 0);
TEST_EQUAL_I(i, 0);
TEST_NOT_NULL(fp);