summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/regex/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/regex/main.c')
-rw-r--r--src/regress/lib/libc/regex/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libc/regex/main.c b/src/regress/lib/libc/regex/main.c
index add5e8be10..6e63ffc235 100644
--- a/src/regress/lib/libc/regex/main.c
+++ b/src/regress/lib/libc/regex/main.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: main.c,v 1.2 1996/12/21 22:23:42 millert Exp $ */ 1/* $OpenBSD: main.c,v 1.3 1997/01/15 23:41:07 millert Exp $ */
2/* $NetBSD: main.c,v 1.2 1995/04/20 22:39:51 cgd Exp $ */ 2/* $NetBSD: main.c,v 1.2 1995/04/20 22:39:51 cgd Exp $ */
3 3
4#include <stdio.h> 4#include <stdio.h>
@@ -47,7 +47,7 @@ char *argv[];
47 47
48 progname = argv[0]; 48 progname = argv[0];
49 49
50 while ((c = getopt(argc, argv, "c:e:S:E:x")) != EOF) 50 while ((c = getopt(argc, argv, "c:e:S:E:x")) != -1)
51 switch (c) { 51 switch (c) {
52 case 'c': /* compile options */ 52 case 'c': /* compile options */
53 copts = options('c', optarg); 53 copts = options('c', optarg);