diff options
Diffstat (limited to 'cmds-subvolume.c')
-rw-r--r-- | cmds-subvolume.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-subvolume.c b/cmds-subvolume.c index 97293fd..a31cb1b 100644 --- a/cmds-subvolume.c +++ b/cmds-subvolume.c @@ -223,7 +223,7 @@ static int cmd_subvol_delete(int argc, char **argv) optind = 1; while (1) { int c; - struct option long_options[] = { + static const struct option long_options[] = { {"commit-after", no_argument, NULL, 'c'}, /* commit mode 1 */ {"commit-each", no_argument, NULL, 'C'}, /* commit mode 2 */ {NULL, 0, NULL, 0} @@ -403,7 +403,7 @@ static int cmd_subvol_list(int argc, char **argv) optind = 1; while(1) { int c; - struct option long_options[] = { + static const struct option long_options[] = { {"sort", 1, NULL, 'S'}, {NULL, 0, NULL, 0} }; |