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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/getopt.c b/util-linux/getopt.c
index 6ec5cb0cd..2da348176 100644
--- a/util-linux/getopt.c
+++ b/util-linux/getopt.c
@@ -158,10 +158,10 @@ static int generate_output(char **argv, int argc, const char *optstr, const stru
158 158
159 /* Reset getopt(3) (see libbb/getopt32.c for long rant) */ 159 /* Reset getopt(3) (see libbb/getopt32.c for long rant) */
160#ifdef __GLIBC__ 160#ifdef __GLIBC__
161 optind = 0; 161 optind = 0;
162#else /* BSD style */ 162#else /* BSD style */
163 optind = 1; 163 optind = 1;
164 /* optreset = 1; */ 164 /* optreset = 1; */
165#endif 165#endif
166 166
167 while (1) { 167 while (1) {