diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2018-04-18 12:56:32 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2018-04-20 12:17:01 +0200 |
commit | 7323557379d9dc40e68203a467e8ec541e512789 (patch) | |
tree | d7e28b482c369280745685c625e6285fb46c9e31 /tools/command.c | |
parent | e878c3fc32161048e76c2b8e6a33d84f6852cdd4 (diff) | |
download | lvm2-7323557379d9dc40e68203a467e8ec541e512789.tar.gz |
cleanup: add _mb_ to regiosize option
Just like with others mentions default unit in function name.
Diffstat (limited to 'tools/command.c')
-rw-r--r-- | tools/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/command.c b/tools/command.c index fafbaa912..a40b327b4 100644 --- a/tools/command.c +++ b/tools/command.c @@ -115,7 +115,7 @@ static inline int segtype_arg(struct cmd_context *cmd, struct arg_values *av) { static inline int alloc_arg(struct cmd_context *cmd, struct arg_values *av) { return 0; } static inline int locktype_arg(struct cmd_context *cmd, struct arg_values *av) { return 0; } static inline int readahead_arg(struct cmd_context *cmd, struct arg_values *av) { return 0; } -static inline int regionsize_arg(struct cmd_context *cmd, struct arg_values *av) { return 0; } +static inline int regionsize_mb_arg(struct cmd_context *cmd, struct arg_values *av) { return 0; } static inline int vgmetadatacopies_arg(struct cmd_context *cmd __attribute__((unused)), struct arg_values *av) { return 0; } static inline int pvmetadatacopies_arg(struct cmd_context *cmd __attribute__((unused)), struct arg_values *av) { return 0; } static inline int metadatacopies_arg(struct cmd_context *cmd __attribute__((unused)), struct arg_values *av) { return 0; } @@ -2264,7 +2264,7 @@ static void _print_val_man(struct command_name *cname, int opt_enum, int val_enu return; } - if (val_enum == regionsize_VAL) { + if (val_enum == regionsizemb_VAL) { printf("\\fISize\\fP[m|UNIT]"); return; } |