aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-filesystem.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-01-19 13:44:49 +0100
committerDavid Sterba <dsterba@suse.cz>2015-01-19 13:44:49 +0100
commit2b7cdab42529bc4ed4c36a3659504e50f0ef700c (patch)
tree6c87c39708753b1f5bfb645fa5eed1c6f04b56b3 /cmds-filesystem.c
parentecbf1339a63e99a8ef7d5ddc334e38a39f291d3d (diff)
downloadbtrfs-progs-2b7cdab42529bc4ed4c36a3659504e50f0ef700c.tar.gz
btrfs-progs-2b7cdab42529bc4ed4c36a3659504e50f0ef700c.tar.xz
btrfs-progs-2b7cdab42529bc4ed4c36a3659504e50f0ef700c.zip
btrfs-progs: make getopt tables static const
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-filesystem.c')
-rw-r--r--cmds-filesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-filesystem.c b/cmds-filesystem.c
index 30a7cc4..a99ddc8 100644
--- a/cmds-filesystem.c
+++ b/cmds-filesystem.c
@@ -834,7 +834,7 @@ static int cmd_show(int argc, char **argv)
while (1) {
int long_index;
- static struct option long_options[] = {
+ static const struct option long_options[] = {
{ "all-devices", no_argument, NULL, 'd'},
{ "mounted", no_argument, NULL, 'm'},
{ NULL, no_argument, NULL, 0 },