aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-device.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-09-14 23:27:19 +0200
committerDavid Sterba <dsterba@suse.com>2015-09-14 23:45:32 +0200
commit8ede30c220544034d2732b84d3438aa25bac4c11 (patch)
treeb769405a5d2fd6c7ff5f9cb784cb8ce6b35c60c9 /cmds-device.c
parentf18085fd88f05ae8b608c5bd307007e6623696aa (diff)
downloadbtrfs-progs-8ede30c220544034d2732b84d3438aa25bac4c11.tar.gz
btrfs-progs-8ede30c220544034d2732b84d3438aa25bac4c11.tar.xz
btrfs-progs-8ede30c220544034d2732b84d3438aa25bac4c11.zip
btrfs-progs: cleanup, make usage strings static
Reported by sparse. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-device.c')
-rw-r--r--cmds-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-device.c b/cmds-device.c
index 84a08ad..195ae2d 100644
--- a/cmds-device.c
+++ b/cmds-device.c
@@ -471,7 +471,7 @@ out:
return err;
}
-const char * const cmd_device_usage_usage[] = {
+static const char * const cmd_device_usage_usage[] = {
"btrfs device usage [options] <path> [<path>..]",
"Show detailed information about internal allocations in devices.",
HELPINFO_OUTPUT_UNIT_DF,