svn commit: r210787 - stable/8/usr.sbin/nfsdumpstate

Rick Macklem rmacklem at FreeBSD.org
Tue Aug 3 03:19:57 UTC 2010


Author: rmacklem
Date: Tue Aug  3 03:19:57 2010
New Revision: 210787
URL: http://svn.freebsd.org/changeset/base/210787

Log:
  MFC: r210272
  Fix handling of the "-l" argument for nfsdumpstate(8).

Modified:
  stable/8/usr.sbin/nfsdumpstate/nfsdumpstate.c
Directory Properties:
  stable/8/usr.sbin/nfsdumpstate/   (props changed)

Modified: stable/8/usr.sbin/nfsdumpstate/nfsdumpstate.c
==============================================================================
--- stable/8/usr.sbin/nfsdumpstate/nfsdumpstate.c	Tue Aug  3 01:49:28 2010	(r210786)
+++ stable/8/usr.sbin/nfsdumpstate/nfsdumpstate.c	Tue Aug  3 03:19:57 2010	(r210787)
@@ -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;


More information about the svn-src-stable mailing list