summaryrefslogtreecommitdiff
path: root/sbin/mountd/mountd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mountd/mountd.c')
-rw-r--r--sbin/mountd/mountd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c
index 542263b9c5b..64babcb94e0 100644
--- a/sbin/mountd/mountd.c
+++ b/sbin/mountd/mountd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mountd.c,v 1.13 1996/12/10 07:26:45 deraadt Exp $ */
+/* $OpenBSD: mountd.c,v 1.14 1997/01/15 23:41:28 millert Exp $ */
/* $NetBSD: mountd.c,v 1.31 1996/02/18 11:57:53 fvdl Exp $ */
/*
@@ -249,7 +249,7 @@ main(argc, argv)
SVCXPRT *udptransp, *tcptransp;
int c;
- while ((c = getopt(argc, argv, "dnr")) != EOF)
+ while ((c = getopt(argc, argv, "dnr")) != -1)
switch (c) {
case 'd':
debug = 1;