projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs-progs: make getopt tables static const
[platform/upstream/btrfs-progs.git]
/
cmds-restore.c
diff --git
a/cmds-restore.c
b/cmds-restore.c
index
795332d
..
a07e61a
100644
(file)
--- 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}