summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/db/dbtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libc/db/dbtest.c')
-rw-r--r--src/regress/lib/libc/db/dbtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libc/db/dbtest.c b/src/regress/lib/libc/db/dbtest.c
index 65587a6fcb..ac9eaa48fd 100644
--- a/src/regress/lib/libc/db/dbtest.c
+++ b/src/regress/lib/libc/db/dbtest.c
@@ -107,7 +107,7 @@ main(argc, argv)
107 fname = NULL; 107 fname = NULL;
108 oflags = O_CREAT | O_RDWR; 108 oflags = O_CREAT | O_RDWR;
109 sflag = 0; 109 sflag = 0;
110 while ((ch = getopt(argc, argv, "f:i:lo:s")) != EOF) 110 while ((ch = getopt(argc, argv, "f:i:lo:s")) != -1)
111 switch (ch) { 111 switch (ch) {
112 case 'f': 112 case 'f':
113 fname = optarg; 113 fname = optarg;