summaryrefslogtreecommitdiff
path: root/cmds-balance.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-balance.c')
-rw-r--r--cmds-balance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-balance.c b/cmds-balance.c
index 5de51bd4..7524f338 100644
--- a/cmds-balance.c
+++ b/cmds-balance.c
@@ -390,7 +390,7 @@ static int cmd_balance_start(int argc, char **argv)
optind = 1;
while (1) {
int longindex;
- static struct option longopts[] = {
+ static const struct option longopts[] = {
{ "data", optional_argument, NULL, 'd'},
{ "metadata", optional_argument, NULL, 'm' },
{ "system", optional_argument, NULL, 's' },
@@ -662,7 +662,7 @@ static int cmd_balance_status(int argc, char **argv)
optind = 1;
while (1) {
int longindex;
- static struct option longopts[] = {
+ static const struct option longopts[] = {
{ "verbose", no_argument, NULL, 'v' },
{ NULL, no_argument, NULL, 0}
};