aboutsummaryrefslogtreecommitdiff
path: root/bin/rdsquashfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-12 19:40:41 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 13:38:25 +0200
commit2694532a5479d157903b6c600d9b1d5c145a4e4c (patch)
tree2a9088f44f51994170032c0ae76aca21e9f1c4aa /bin/rdsquashfs
parent1f506a17903f5eeaded9065e42726c1a09dc6f89 (diff)
libio: replace OSTREAM_OPEN_* flags with SQFS_FILE_OPEN_* flags
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/rdsquashfs')
-rw-r--r--bin/rdsquashfs/src/fill_files.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rdsquashfs/src/fill_files.c b/bin/rdsquashfs/src/fill_files.c
index 372752a..f482abe 100644
--- a/bin/rdsquashfs/src/fill_files.c
+++ b/bin/rdsquashfs/src/fill_files.c
@@ -139,10 +139,10 @@ static int fill_files(sqfs_data_reader_t *data, int flags)
ostream_t *fp;
size_t i;
- openflags = OSTREAM_OPEN_OVERWRITE;
+ openflags = SQFS_FILE_OPEN_OVERWRITE;
if (flags & UNPACK_NO_SPARSE)
- openflags |= OSTREAM_OPEN_NO_SPARSE;
+ openflags |= SQFS_FILE_OPEN_NO_SPARSE;
for (i = 0; i < num_files; ++i) {
fp = ostream_open_file(files[i].path, openflags);