*: fix up use of "getopt_longopts" for longopts not in getopt applet
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/util-linux/script.c b/util-linux/script.c
index 89b4391..4cb9842 100644
--- a/util-linux/script.c
+++ b/util-linux/script.c
@@ -71,7 +71,7 @@
};
#if ENABLE_LONG_OPTS
- static const char getopt_longopts[] ALIGN1 =
+ static const char script_longopts[] ALIGN1 =
"append\0" No_argument "a"
"command\0" Required_argument "c"
"flush\0" No_argument "f"
@@ -79,7 +79,7 @@
"timing\0" Optional_argument "t"
;
- applet_long_options = getopt_longopts;
+ applet_long_options = script_longopts;
#endif
opt_complementary = "?1"; /* max one arg */