summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/nfsdumpstate/nfsdumpstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nfsdumpstate/nfsdumpstate.c b/usr.sbin/nfsdumpstate/nfsdumpstate.c
index aed6838..3858177 100644
--- a/usr.sbin/nfsdumpstate/nfsdumpstate.c
+++ b/usr.sbin/nfsdumpstate/nfsdumpstate.c
@@ -76,7 +76,7 @@ main(int argc, char **argv)
errx(1, "nfsd not loaded - self terminating");
openstate = 0;
lockfile = NULL;
- while ((ch = getopt(argc, argv, "ol")) != -1)
+ while ((ch = getopt(argc, argv, "ol:")) != -1)
switch (ch) {
case 'o':
openstate = 1;
OpenPOWER on IntegriCloud