summaryrefslogtreecommitdiff
path: root/lib/common
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 /lib/common
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 'lib/common')
-rw-r--r--lib/common/writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/writer.c b/lib/common/writer.c
index 1bbf6bd..b6adc59 100644
--- a/lib/common/writer.c
+++ b/lib/common/writer.c
@@ -136,7 +136,7 @@ int sqfs_writer_init(sqfs_writer_t *sqfs, const sqfs_writer_cfg_t *wrcfg)
memset(&sqfs->stats, 0, sizeof(sqfs->stats));
register_stat_hooks(sqfs->data, &sqfs->stats);
- sqfs->idtbl = sqfs_id_table_create();
+ sqfs->idtbl = sqfs_id_table_create(0);
if (sqfs->idtbl == NULL) {
sqfs_perror(wrcfg->filename, "creating ID table",
SQFS_ERROR_ALLOC);