summaryrefslogtreecommitdiff
path: root/cmds-restore.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-restore.c
parentecbf1339a63e99a8ef7d5ddc334e38a39f291d3d (diff)
btrfs-progs: make getopt tables static const
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'cmds-restore.c')
-rw-r--r--cmds-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-restore.c b/cmds-restore.c
index 795332db..a07e61a1 100644
--- a/cmds-restore.c
+++ b/cmds-restore.c
@@ -1167,7 +1167,7 @@ int cmd_restore(int argc, char **argv)
while (1) {
int opt;
int option_index = 0;
- static struct option long_options[] = {
+ static const struct option long_options[] = {
{ "path-regex", 1, NULL, 256},
{ "dry-run", 0, NULL, 'D'},
{ NULL, 0, NULL, 0}