summaryrefslogtreecommitdiff
path: root/cmds-qgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmds-qgroup.c')
-rw-r--r--cmds-qgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-qgroup.c b/cmds-qgroup.c
index 1d2993c4..dfb38f71 100644
--- a/cmds-qgroup.c
+++ b/cmds-qgroup.c
@@ -242,7 +242,7 @@ static int cmd_qgroup_show(int argc, char **argv)
optind = 1;
while (1) {
int c;
- struct option long_options[] = {
+ static const struct option long_options[] = {
{"sort", 1, NULL, 'S'},
{0, 0, 0, 0}
};