diff options
Diffstat (limited to 'sunrpc/rpcinfo.c')
-rw-r--r-- | sunrpc/rpcinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/rpcinfo.c b/sunrpc/rpcinfo.c index 0df991a..30932c8 100644 --- a/sunrpc/rpcinfo.c +++ b/sunrpc/rpcinfo.c @@ -94,7 +94,7 @@ main(argc, argv) function = NONE; portnum = 0; errflg = 0; - while ((c = getopt(argc, argv, "ptubdn:")) != EOF) { + while ((c = getopt(argc, argv, "ptubdn:")) != -1) { switch (c) { case 'p': |