diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-05 18:46:50 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-05 18:46:50 +0200 |
commit | 320ae4f8e752f6652c7b5c8201d7267cd4de17c1 (patch) | |
tree | 4423514c5433dc3b70e32fd5950a139827b94ac9 /mkfs/options.c | |
parent | f92cf3b98f51d355c92900f1d316b141b2b9d4fd (diff) |
Cleanup naming scheme of compressor
Add sqfs_* prefix to compressor, move implementation prefix up front.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'mkfs/options.c')
-rw-r--r-- | mkfs/options.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mkfs/options.c b/mkfs/options.c index fb50d7b..9e747d8 100644 --- a/mkfs/options.c +++ b/mkfs/options.c @@ -161,10 +161,12 @@ void process_command_line(options_t *opt, int argc, char **argv) case 'c': have_compressor = true; - if (compressor_id_from_name(optarg, &opt->compressor)) + if (sqfs_compressor_id_from_name(optarg, + &opt->compressor)) { have_compressor = false; + } - if (!compressor_exists(opt->compressor)) + if (!sqfs_compressor_exists(opt->compressor)) have_compressor = false; if (!have_compressor) { |