svn commit: r346192 - head/usr.bin/nfsstat

Rick Macklem rmacklem at FreeBSD.org
Sat Apr 13 23:26:03 UTC 2019


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,


More information about the svn-src-head mailing list