diff options
Diffstat (limited to 'libexec/ld.so/test/dltest.c')
-rw-r--r-- | libexec/ld.so/test/dltest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/test/dltest.c b/libexec/ld.so/test/dltest.c index 77420d5f69e..3293cdf3e12 100644 --- a/libexec/ld.so/test/dltest.c +++ b/libexec/ld.so/test/dltest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dltest.c,v 1.4 2001/09/25 21:51:16 drahn Exp $ */ +/* $OpenBSD: dltest.c,v 1.5 2001/10/24 13:06:35 mpech Exp $ */ #include <stdio.h> #include <stdlib.h> @@ -35,7 +35,7 @@ main(int argc, char **argv) int ch; int mode; - while((ch = getopt(argc, argv, "a:b:f:l:")) != EOF) { + while((ch = getopt(argc, argv, "a:b:f:l:")) != -1) { switch(ch) { case 'a': param = optarg; |