summaryrefslogtreecommitdiff
path: root/util-linux/flock.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/flock.c')
-rw-r--r--util-linux/flock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/flock.c b/util-linux/flock.c
index ec35af1..b55e07a 100644
--- a/util-linux/flock.c
+++ b/util-linux/flock.c
@@ -38,13 +38,13 @@ int flock_main(int argc UNUSED_PARAM, char **argv)
};
#if ENABLE_LONG_OPTS
- static const char getopt_longopts[] ALIGN1 =
+ static const char flock_longopts[] ALIGN1 =
"shared\0" No_argument "s"
"exclusive\0" No_argument "x"
"unlock\0" No_argument "u"
"nonblock\0" No_argument "n"
;
- applet_long_options = getopt_longopts;
+ applet_long_options = flock_longopts;
#endif
opt_complementary = "-1";