aboutsummaryrefslogtreecommitdiff
path: root/util-linux/getopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/getopt.c')
-rw-r--r--util-linux/getopt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index 31790d2a7..e3b4ca625 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -329,8 +329,7 @@ int getopt_main(int argc, char **argv)
329 &optstr, &name, &s_arg, &l_arg); 329 &optstr, &name, &s_arg, &l_arg);
330 /* Effectuate the read options for the applet itself */ 330 /* Effectuate the read options for the applet itself */
331 while (l_arg) { 331 while (l_arg) {
332 long_options = add_long_options(long_options, l_arg->data); 332 long_options = add_long_options(long_options, llist_pop(&l_arg));
333 l_arg = l_arg->link;
334 } 333 }
335#endif 334#endif
336 335