summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/getopt_long/getopt_long_test.c
diff options
context:
space:
mode:
authormillert <>2002-12-05 22:29:46 +0000
committermillert <>2002-12-05 22:29:46 +0000
commitfc8223e0fe0f6d829911579ae29e492c8607fe3a (patch)
treeb30b8057eae132f1339423699ccb4c4b51a435ea /src/regress/lib/libc/getopt_long/getopt_long_test.c
parent84112301cf2c1f2f91782ff7f25e87d7436333e7 (diff)
downloadopenbsd-fc8223e0fe0f6d829911579ae29e492c8607fe3a.tar.gz
openbsd-fc8223e0fe0f6d829911579ae29e492c8607fe3a.tar.bz2
openbsd-fc8223e0fe0f6d829911579ae29e492c8607fe3a.zip
excercise "-W longopt"
Diffstat (limited to 'src/regress/lib/libc/getopt_long/getopt_long_test.c')
-rw-r--r--src/regress/lib/libc/getopt_long/getopt_long_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libc/getopt_long/getopt_long_test.c b/src/regress/lib/libc/getopt_long/getopt_long_test.c
index 7b013e534b..acd25fb749 100644
--- a/src/regress/lib/libc/getopt_long/getopt_long_test.c
+++ b/src/regress/lib/libc/getopt_long/getopt_long_test.c
@@ -67,7 +67,7 @@ main(int argc, char **argv)
67 goggles = 0; 67 goggles = 0;
68 for (;;) { 68 for (;;) {
69 idx = -1; 69 idx = -1;
70 ch = gl(argc, argv, "19bf:i:h", longopts, &idx); 70 ch = gl(argc, argv, "19bf:i:hW;", longopts, &idx);
71 if (ch == -1) 71 if (ch == -1)
72 break; 72 break;
73 switch (ch) { 73 switch (ch) {