From 1248463c17a9b3220911c02a262e30e15badcf61 Mon Sep 17 00:00:00 2001 From: Rick Macklem Date: Tue, 20 Jul 2010 00:32:11 +0000 Subject: [PATCH] Fix handling of the "-l" argument for nfsdumpstate(8). Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks --- usr.sbin/nfsdumpstate/nfsdumpstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/nfsdumpstate/nfsdumpstate.c b/usr.sbin/nfsdumpstate/nfsdumpstate.c index aed68388c457..3858177e85af 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;