summaryrefslogtreecommitdiffstats
path: root/usr.bin/ldd
diff options
context:
space:
mode:
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 d565d60..5c25d05 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++;
OpenPOWER on IntegriCloud