diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-12 19:40:41 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-15 13:38:25 +0200 |
commit | 2694532a5479d157903b6c600d9b1d5c145a4e4c (patch) | |
tree | 2a9088f44f51994170032c0ae76aca21e9f1c4aa /bin | |
parent | 1f506a17903f5eeaded9065e42726c1a09dc6f89 (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')
-rw-r--r-- | bin/rdsquashfs/src/fill_files.c | 4 | ||||
-rw-r--r-- | bin/sqfsdiff/src/extract.c | 2 |
2 files changed, 3 insertions, 3 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); diff --git a/bin/sqfsdiff/src/extract.c b/bin/sqfsdiff/src/extract.c index a956480..3c8b568 100644 --- a/bin/sqfsdiff/src/extract.c +++ b/bin/sqfsdiff/src/extract.c @@ -21,7 +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); + fp = ostream_open_file(temp, SQFS_FILE_OPEN_OVERWRITE); if (fp == NULL) { perror(temp); return -1; |