aboutsummaryrefslogtreecommitdiff
path: root/tar/tar2sqfs.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-05 17:37:19 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-05 17:37:19 +0200
commitf85394c5887350a9728e108e72d908e08fc4cb78 (patch)
tree76ee4e50a5ece365d1c429271bd735dca40f01ad /tar/tar2sqfs.c
parenta4b4c27bb01e64ff0072be78f7ddc0fa64193bfa (diff)
Cleanup: add sqfs_* prefix to id table
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tar/tar2sqfs.c')
-rw-r--r--tar/tar2sqfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c
index fba1a31..22b7cda 100644
--- a/tar/tar2sqfs.c
+++ b/tar/tar2sqfs.c
@@ -356,10 +356,10 @@ int main(int argc, char **argv)
{
int outfd, status = EXIT_SUCCESS;
compressor_config_t cfg;
+ sqfs_id_table_t *idtbl;
data_writer_t *data;
sqfs_super_t super;
compressor_t *cmp;
- id_table_t *idtbl;
fstree_t fs;
int ret;
@@ -404,7 +404,7 @@ int main(int argc, char **argv)
if (data == NULL)
goto out_cmp;
- idtbl = id_table_create();
+ idtbl = sqfs_id_table_create();
if (idtbl == NULL)
goto out_data;
@@ -433,7 +433,7 @@ int main(int argc, char **argv)
goto out;
}
- if (id_table_write(idtbl, outfd, &super, cmp))
+ if (sqfs_id_table_write(idtbl, outfd, &super, cmp))
goto out;
if (write_xattr(outfd, &fs, &super, cmp))
@@ -452,7 +452,7 @@ int main(int argc, char **argv)
status = EXIT_SUCCESS;
out:
- id_table_destroy(idtbl);
+ sqfs_id_table_destroy(idtbl);
out_data:
data_writer_destroy(data);
out_cmp: