summaryrefslogtreecommitdiffstats
path: root/mount/lomount.c
diff options
context:
space:
mode:
Diffstat (limited to 'mount/lomount.c')
-rw-r--r--mount/lomount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mount/lomount.c b/mount/lomount.c
index 0bbcbc19d..84dfb1275 100644
--- a/mount/lomount.c
+++ b/mount/lomount.c
@@ -1042,7 +1042,8 @@ main(int argc, char **argv) {
int ro = 0;
int pfd = -1;
uintmax_t off = 0, slimit = 0;
- struct option longopts[] = {
+
+ static const struct option longopts[] = {
{ "all", 0, 0, 'a' },
{ "set-capacity", 0, 0, 'c' },
{ "detach", 0, 0, 'd' },