summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/ldconfig
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/ld/ldconfig')
-rw-r--r--gnu/usr.bin/ld/ldconfig/ldconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/ld/ldconfig/ldconfig.c b/gnu/usr.bin/ld/ldconfig/ldconfig.c
index fc1de5cc93d..98a21749f81 100644
--- a/gnu/usr.bin/ld/ldconfig/ldconfig.c
+++ b/gnu/usr.bin/ld/ldconfig/ldconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldconfig.c,v 1.14 2002/09/07 01:25:34 marc Exp $ */
+/* $OpenBSD: ldconfig.c,v 1.15 2002/12/08 16:27:17 millert Exp $ */
/*
* Copyright (c) 1993,1995 Paul Kranenburg
@@ -91,7 +91,7 @@ main(int argc, char *argv[])
int i, c;
int rval = 0;
- while ((c = getopt(argc, argv, "RUmrsv")) != EOF) {
+ while ((c = getopt(argc, argv, "RUmrsv")) != -1) {
switch (c) {
case 'R':
rescan = 1;