diff options
author | David Sterba <dsterba@suse.com> | 2015-09-14 23:27:19 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-09-14 23:45:32 +0200 |
commit | 8ede30c220544034d2732b84d3438aa25bac4c11 (patch) | |
tree | b769405a5d2fd6c7ff5f9cb784cb8ce6b35c60c9 /cmds-rescue.c | |
parent | f18085fd88f05ae8b608c5bd307007e6623696aa (diff) |
btrfs-progs: cleanup, make usage strings static
Reported by sparse.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-rescue.c')
-rw-r--r-- | cmds-rescue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmds-rescue.c b/cmds-rescue.c index dd7c01ea..bcec3447 100644 --- a/cmds-rescue.c +++ b/cmds-rescue.c @@ -33,7 +33,7 @@ static const char * const rescue_cmd_group_usage[] = { int btrfs_recover_chunk_tree(char *path, int verbose, int yes); int btrfs_recover_superblocks(char *path, int verbose, int yes); -const char * const cmd_rescue_chunk_recover_usage[] = { +static const char * const cmd_rescue_chunk_recover_usage[] = { "btrfs rescue chunk-recover [options] <device>", "Recover the chunk tree by scanning the devices one by one.", "", @@ -43,7 +43,7 @@ const char * const cmd_rescue_chunk_recover_usage[] = { NULL }; -const char * const cmd_rescue_super_recover_usage[] = { +static const char * const cmd_rescue_super_recover_usage[] = { "btrfs rescue super-recover [options] <device>", "Recover bad superblocks from good copies", "", @@ -152,7 +152,7 @@ int cmd_rescue_super_recover(int argc, char **argv) return ret; } -const char * const cmd_rescue_zero_log_usage[] = { +static const char * const cmd_rescue_zero_log_usage[] = { "btrfs rescue zero-log <device>", "Clear the tree log. Usable if it's corrupted and prevents mount.", "", |