summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/man/manpath/manpath.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2008-02-19 07:09:19 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2008-02-19 07:09:19 +0000
commitb7498df286c40ea0740282b9e663d224fec40dc8 (patch)
tree578506eede3120635d7308f1fed95a1c6147a49a /gnu/usr.bin/man/manpath/manpath.c
parent58eefce0e6d849ee941bbf456c0a91952458e7c4 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/man/manpath/manpath.c')
-rw-r--r--gnu/usr.bin/man/manpath/manpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/manpath/manpath.c b/gnu/usr.bin/man/manpath/manpath.c
index c1a25dea2f539..8c514a4947eba 100644
--- a/gnu/usr.bin/man/manpath/manpath.c
+++ b/gnu/usr.bin/man/manpath/manpath.c
@@ -78,7 +78,7 @@ main(argc, argv)
prognam = mkprogname (argv[0]);
- while ((c = getopt (argc, argv, "dhLq?")) != EOF)
+ while ((c = getopt (argc, argv, "dhLq?")) != -1)
{
switch (c)
{