Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2019 23:26:02 +0000 (UTC)
From:      Rick Macklem <rmacklem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r346192 - head/usr.bin/nfsstat
Message-ID:  <201904132326.x3DNQ2Fv032537@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rmacklem
Date: Sat Apr 13 23:26:02 2019
New Revision: 346192
URL: https://svnweb.freebsd.org/changeset/base/346192

Log:
  Fix printing of the line that starts with "LocalOpen...".
  
  When "nfsstat -E -c" was done, the title line starting with "LocalOpen..."
  was not being displayed. This was introduced by r328588.
  
  MFC after:	2 weeks

Modified:
  head/usr.bin/nfsstat/nfsstat.c

Modified: head/usr.bin/nfsstat/nfsstat.c
==============================================================================
--- head/usr.bin/nfsstat/nfsstat.c	Sat Apr 13 22:00:09 2019	(r346191)
+++ head/usr.bin/nfsstat/nfsstat.c	Sat Apr 13 23:26:02 2019	(r346192)
@@ -790,7 +790,7 @@ exp_intpr(int clientOnly, int serverOnly, int nfs41)
 		    (uintmax_t)ext_nfsstats.cllocalopenowners);
 
 		xo_emit("{T:LocalOpen/%13.13s}{T:LocalLown/%13.13s}"
-		    "{T:LocalLock\n");
+		    "{T:LocalLock/%13.13s}\n");
 		xo_emit("{:localopen/%13ju}{:locallown/%13ju}"
 		    "{:locallock/%13ju}\n",
 		    (uintmax_t)ext_nfsstats.cllocalopens,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904132326.x3DNQ2Fv032537>