summaryrefslogtreecommitdiff
path: root/tools/setfattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/setfattr.c')
-rw-r--r--tools/setfattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setfattr.c b/tools/setfattr.c
index b2e1df0..c4e2d79 100644
--- a/tools/setfattr.c
+++ b/tools/setfattr.c
@@ -38,7 +38,7 @@
#define CMD_LINE_SPEC1 "{-n name} [-v value] [-h] file..."
#define CMD_LINE_SPEC2 "{-x name} [-h] file..."
-struct option long_options[] = {
+static const struct option long_options[] = {
{ "name", 1, 0, 'n' },
{ "remove", 1, 0, 'x' },
{ "value", 1, 0, 'v' },