diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-12 19:11:35 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-15 13:38:25 +0200 |
commit | 1f506a17903f5eeaded9065e42726c1a09dc6f89 (patch) | |
tree | 6f3cff994ca5794ef41777845ebc7ff6d41525cb /bin/sqfsdiff/src | |
parent | eb9a4b9034453ae3093d678a6f3898303dc5a5a0 (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/sqfsdiff/src')
-rw-r--r-- | bin/sqfsdiff/src/extract.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/sqfsdiff/src/extract.c b/bin/sqfsdiff/src/extract.c index 7e745cf..a956480 100644 --- a/bin/sqfsdiff/src/extract.c +++ b/bin/sqfsdiff/src/extract.c @@ -21,8 +21,7 @@ static int extract(sqfs_data_reader_t *data, const sqfs_inode_generic_t *inode, return -1; *ptr = '/'; - fp = ostream_open_file(temp, OSTREAM_OPEN_OVERWRITE | - OSTREAM_OPEN_SPARSE); + fp = ostream_open_file(temp, OSTREAM_OPEN_OVERWRITE); if (fp == NULL) { perror(temp); return -1; |