summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-20 21:29:17 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-20 21:29:17 +0100
commitb4c822960aaf5b4349895cc480e959b502f6855e (patch)
treee5aab5b7e23818d9cd5a6367ca751c9c0a43f50d /extras
parentcf0b7d7f165c40b8501dd3ede27d0073ef4c2f84 (diff)
Add a flag field to the id table create function
Just to be safe in case there needs to be an extension in the future. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'extras')
-rw-r--r--extras/browse.c2
-rw-r--r--extras/list_files.c2
-rw-r--r--extras/mk42sqfs.c2
-rw-r--r--extras/mknastyfs.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/extras/browse.c b/extras/browse.c
index 6992a4b..49ddb7e 100644
--- a/extras/browse.c
+++ b/extras/browse.c
@@ -519,7 +519,7 @@ int main(int argc, char **argv)
}
/* Create and read the UID/GID mapping table */
- idtbl = sqfs_id_table_create();
+ idtbl = sqfs_id_table_create(0);
if (idtbl == NULL) {
fputs("Error creating ID table.\n", stderr);
goto out_cmp;
diff --git a/extras/list_files.c b/extras/list_files.c
index 16fe360..de390f0 100644
--- a/extras/list_files.c
+++ b/extras/list_files.c
@@ -100,7 +100,7 @@ int main(int argc, char **argv)
}
/* Create and read the UID/GID mapping table */
- idtbl = sqfs_id_table_create();
+ idtbl = sqfs_id_table_create(0);
if (idtbl == NULL) {
fputs("Error creating ID table.\n", stderr);
goto out_cmp;
diff --git a/extras/mk42sqfs.c b/extras/mk42sqfs.c
index 1c55bf1..0dbcc4e 100644
--- a/extras/mk42sqfs.c
+++ b/extras/mk42sqfs.c
@@ -115,7 +115,7 @@ int main(void)
}
/* create an ID table */
- idtbl = sqfs_id_table_create();
+ idtbl = sqfs_id_table_create(0);
if (idtbl == NULL) {
fputs("Error creating ID table.\n", stderr);
goto out_dirwr;
diff --git a/extras/mknastyfs.c b/extras/mknastyfs.c
index 216c7eb..2a66bc9 100644
--- a/extras/mknastyfs.c
+++ b/extras/mknastyfs.c
@@ -104,7 +104,7 @@ int main(void)
}
/* create an ID table */
- idtbl = sqfs_id_table_create();
+ idtbl = sqfs_id_table_create(0);
if (idtbl == NULL) {
fputs("Error creating ID table.\n", stderr);
goto out_dirwr;