aboutsummaryrefslogtreecommitdiff
path: root/mkfs
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 /mkfs
parenta4b4c27bb01e64ff0072be78f7ddc0fa64193bfa (diff)
Cleanup: add sqfs_* prefix to id table
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs')
-rw-r--r--mkfs/mkfs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c
index 75d4cd8..abd7422 100644
--- a/mkfs/mkfs.c
+++ b/mkfs/mkfs.c
@@ -94,10 +94,10 @@ int main(int argc, char **argv)
{
int status = EXIT_FAILURE, ret;
compressor_config_t cfg;
+ sqfs_id_table_t *idtbl;
data_writer_t *data;
sqfs_super_t super;
compressor_t *cmp;
- id_table_t *idtbl;
options_t opt;
fstree_t fs;
int outfd;
@@ -117,7 +117,7 @@ int main(int argc, char **argv)
goto out_fstree;
}
- idtbl = id_table_create();
+ idtbl = sqfs_id_table_create();
if (idtbl == NULL)
goto out_fstree;
@@ -185,7 +185,7 @@ int main(int argc, char **argv)
goto out_data;
}
- if (id_table_write(idtbl, outfd, &super, cmp))
+ if (sqfs_id_table_write(idtbl, outfd, &super, cmp))
goto out_data;
if (write_xattr(outfd, &fs, &super, cmp))
@@ -210,7 +210,7 @@ out_cmp:
out_outfd:
close(outfd);
out_idtbl:
- id_table_destroy(idtbl);
+ sqfs_id_table_destroy(idtbl);
out_fstree:
fstree_cleanup(&fs);
return status;