From 1f506a17903f5eeaded9065e42726c1a09dc6f89 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 12 Jun 2023 19:11:35 +0200 Subject: 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 --- bin/rdsquashfs/src/fill_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/rdsquashfs') 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); -- cgit v1.2.3