summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/samples/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'shlibs/mount/samples/mount.c')
-rw-r--r--shlibs/mount/samples/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shlibs/mount/samples/mount.c b/shlibs/mount/samples/mount.c
index ed3c99a9b..d7c281fcc 100644
--- a/shlibs/mount/samples/mount.c
+++ b/shlibs/mount/samples/mount.c
@@ -207,7 +207,7 @@ int main(int argc, char **argv)
char *types = NULL;
unsigned long oper = 0;
- struct option longopts[] = {
+ static const struct option longopts[] = {
{ "all", 0, 0, 'a' },
{ "fake", 0, 0, 'f' },
{ "fork", 0, 0, 'F' },