summaryrefslogtreecommitdiff
path: root/bin/sqfsdiff/sqfsdiff.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-06-11 01:57:26 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-06-11 15:36:08 +0200
commit259a98985b4f93347923d1b2c3aaa535397aaa89 (patch)
tree0a008ffc3d59cfaeffaf0aed7e79d53dd7eef081 /bin/sqfsdiff/sqfsdiff.c
parentec5ba7eb521626a85d2ab22e97eb1298b2ff6f55 (diff)
Add flags to functions that might logically be expanded in the future
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/sqfsdiff/sqfsdiff.c')
-rw-r--r--bin/sqfsdiff/sqfsdiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sqfsdiff/sqfsdiff.c b/bin/sqfsdiff/sqfsdiff.c
index b543c00..0673f8d 100644
--- a/bin/sqfsdiff/sqfsdiff.c
+++ b/bin/sqfsdiff/sqfsdiff.c
@@ -67,7 +67,7 @@ static int open_sfqs(sqfs_state_t *state, const char *path)
}
state->dr = sqfs_dir_reader_create(&state->super, state->cmp,
- state->file);
+ state->file, 0);
if (state->dr == NULL) {
sqfs_perror(path, "creating directory reader",
SQFS_ERROR_ALLOC);
@@ -83,7 +83,7 @@ static int open_sfqs(sqfs_state_t *state, const char *path)
state->data = sqfs_data_reader_create(state->file,
state->super.block_size,
- state->cmp);
+ state->cmp, 0);
if (state->data == NULL) {
sqfs_perror(path, "creating data reader", SQFS_ERROR_ALLOC);
goto fail_tree;