summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2020-06-13 11:05:49 -0700
committerDavid Oberhollenzer <goliath@infraroot.at>2020-06-14 09:24:45 +0200
commit4c10a491a2ddfcdc3226431a71aefd6ca71135d4 (patch)
tree094ffdc73a34747510db31b52ea7a0c8bae2bfeb
parentfcbf4c346c8a9b88679983614218e90a44fe8f2a (diff)
extras: Pass flags argument to fix build
Missed in commit 259a98985b4f (Add flags to functions that might logically be expanded in the future) Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--extras/browse.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/extras/browse.c b/extras/browse.c
index ef4e223..86ce788 100644
--- a/extras/browse.c
+++ b/extras/browse.c
@@ -63,7 +63,7 @@ static void list_directory(const char *dirname)
/* Get the directory inode we want to dump and open the directory */
if (dirname == NULL) {
- ret = sqfs_dir_reader_open_dir(dr, working_dir);
+ ret = sqfs_dir_reader_open_dir(dr, working_dir, 0);
if (ret)
goto fail_open;
} else if (*dirname == '/') {
@@ -74,7 +74,7 @@ static void list_directory(const char *dirname)
if (ret)
goto fail_resolve;
- ret = sqfs_dir_reader_open_dir(dr, inode);
+ ret = sqfs_dir_reader_open_dir(dr, inode, 0);
free(inode);
if (ret)
goto fail_open;
@@ -84,7 +84,7 @@ static void list_directory(const char *dirname)
if (ret)
goto fail_resolve;
- ret = sqfs_dir_reader_open_dir(dr, inode);
+ ret = sqfs_dir_reader_open_dir(dr, inode, 0);
free(inode);
if (ret)
goto fail_open;
@@ -526,7 +526,7 @@ int main(int argc, char **argv)
}
/* create a directory reader and get the root inode */
- dr = sqfs_dir_reader_create(&super, cmp, file);
+ dr = sqfs_dir_reader_create(&super, cmp, file, 0);
if (dr == NULL) {
fprintf(stderr, "%s: error creating directory reader.\n",
argv[1]);
@@ -539,7 +539,7 @@ int main(int argc, char **argv)
}
/* create a data reader */
- data = sqfs_data_reader_create(file, super.block_size, cmp);
+ data = sqfs_data_reader_create(file, super.block_size, cmp, 0);
if (data == NULL) {
fprintf(stderr, "%s: error creating data reader.\n",