From owner-svn-src-all@FreeBSD.ORG Tue Jul 20 00:32:11 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B36791065672; Tue, 20 Jul 2010 00:32:11 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A51048FC0A; Tue, 20 Jul 2010 00:32:11 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o6K0WBPW031702; Tue, 20 Jul 2010 00:32:11 GMT (envelope-from rmacklem@svn.freebsd.org) Received: (from rmacklem@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o6K0WBm6031700; Tue, 20 Jul 2010 00:32:11 GMT (envelope-from rmacklem@svn.freebsd.org) Message-Id: <201007200032.o6K0WBm6031700@svn.freebsd.org> From: Rick Macklem Date: Tue, 20 Jul 2010 00:32:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r210272 - head/usr.sbin/nfsdumpstate X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2010 00:32:11 -0000 Author: rmacklem Date: Tue Jul 20 00:32:11 2010 New Revision: 210272 URL: http://svn.freebsd.org/changeset/base/210272 Log: Fix handling of the "-l" argument for nfsdumpstate(8). Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks Modified: head/usr.sbin/nfsdumpstate/nfsdumpstate.c Modified: head/usr.sbin/nfsdumpstate/nfsdumpstate.c ============================================================================== --- head/usr.sbin/nfsdumpstate/nfsdumpstate.c Mon Jul 19 23:48:03 2010 (r210271) +++ head/usr.sbin/nfsdumpstate/nfsdumpstate.c Tue Jul 20 00:32:11 2010 (r210272) @@ -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;