aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ldd
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2000-09-04 06:09:54 +0000
committerWarner Losh <imp@FreeBSD.org>2000-09-04 06:09:54 +0000
commit62f882d620bdfa783c01626012d69f468ba34e28 (patch)
tree61f47bc195ec448ef18491672dd800c17c51c67d /usr.bin/ldd
parentb07b8563ff4c0802ccb1cefdc6aca67c8896c6d1 (diff)
downloadsrc-62f882d620bdfa783c01626012d69f468ba34e28.tar.gz
src-62f882d620bdfa783c01626012d69f468ba34e28.zip
Notes
Diffstat (limited to 'usr.bin/ldd')
-rw-r--r--usr.bin/ldd/ldd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c
index d565d607102f..5c25d05753d8 100644
--- a/usr.bin/ldd/ldd.c
+++ b/usr.bin/ldd/ldd.c
@@ -65,7 +65,7 @@ char *argv[];
int c;
int vflag = 0;
- while ((c = getopt(argc, argv, "vf:")) != EOF) {
+ while ((c = getopt(argc, argv, "vf:")) != -1) {
switch (c) {
case 'v':
vflag++;