summaryrefslogtreecommitdiffstats
path: root/usr.bin/showmount/showmount.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/showmount/showmount.c')
-rw-r--r--usr.bin/showmount/showmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/showmount/showmount.c b/usr.bin/showmount/showmount.c
index 62898d2..cfb2b64 100644
--- a/usr.bin/showmount/showmount.c
+++ b/usr.bin/showmount/showmount.c
@@ -108,7 +108,7 @@ main(argc, argv)
char *host;
int estat;
- while ((ch = getopt(argc, argv, "ade3")) != EOF)
+ while ((ch = getopt(argc, argv, "ade3")) != -1)
switch((char)ch) {
case 'a':
if (type == 0) {
OpenPOWER on IntegriCloud