diff options
Diffstat (limited to 'regress/sys/arch/i386')
-rw-r--r-- | regress/sys/arch/i386/ldt/testldt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/sys/arch/i386/ldt/testldt.c b/regress/sys/arch/i386/ldt/testldt.c index fae021d0e12..a88c1b826d1 100644 --- a/regress/sys/arch/i386/ldt/testldt.c +++ b/regress/sys/arch/i386/ldt/testldt.c @@ -161,7 +161,7 @@ main(int argc, char *argv[]) exit(1); } - while ((ch = getopt(argc, argv, "v")) != EOF) { + while ((ch = getopt(argc, argv, "v")) != -1) { switch (ch) { case 'v': verbose++; |