aboutsummaryrefslogtreecommitdiff
path: root/bin/rdsquashfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-12 19:11:35 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 13:38:25 +0200
commit1f506a17903f5eeaded9065e42726c1a09dc6f89 (patch)
tree6f3cff994ca5794ef41777845ebc7ff6d41525cb /bin/rdsquashfs
parenteb9a4b9034453ae3093d678a6f3898303dc5a5a0 (diff)
libio: flip the meaning of the ostream_t sparse flag
Instead of "open sparse", make that the default and turn it into a "no sparse" flag. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/rdsquashfs')
-rw-r--r--bin/rdsquashfs/src/fill_files.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/rdsquashfs/src/fill_files.c b/bin/rdsquashfs/src/fill_files.c
index afc790e..372752a 100644
--- a/bin/rdsquashfs/src/fill_files.c
+++ b/bin/rdsquashfs/src/fill_files.c
@@ -142,7 +142,7 @@ static int fill_files(sqfs_data_reader_t *data, int flags)
openflags = OSTREAM_OPEN_OVERWRITE;
if (flags & UNPACK_NO_SPARSE)
- openflags |= OSTREAM_OPEN_SPARSE;
+ openflags |= OSTREAM_OPEN_NO_SPARSE;
for (i = 0; i < num_files; ++i) {
fp = ostream_open_file(files[i].path, openflags);