summaryrefslogtreecommitdiff
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 6ec5cb0..2da3481 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
/* Reset getopt(3) (see libbb/getopt32.c for long rant) */
#ifdef __GLIBC__
- optind = 0;
+ optind = 0;
#else /* BSD style */
- optind = 1;
- /* optreset = 1; */
+ optind = 1;
+ /* optreset = 1; */
#endif
while (1) {