summaryrefslogtreecommitdiff
path: root/src/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stat.c b/src/stat.c
index 0d52c27b1..087bda3cb 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -157,7 +157,8 @@ enum
PRINTF_OPTION = CHAR_MAX + 1
};
-static struct option const long_options[] = {
+static const struct option const long_options[] =
+{
{"context", no_argument, 0, 'Z'},
{"dereference", no_argument, NULL, 'L'},
{"file-system", no_argument, NULL, 'f'},