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

Alan Somers asomers at FreeBSD.org
Wed Sep 2 17:36:31 UTC 2020


Author: asomers
Date: Wed Sep  2 17:36:30 2020
New Revision: 365262
URL: https://svnweb.freebsd.org/changeset/base/365262

Log:
  Fix output of nfsstat -cE in json or xml mode
  
  Due to a copy/paste error, the "getacl" field was duplicated, but only in
  XML or JSON mode, not in txt mode.
  
  Discussed with:	rmacklem
  MFC after:	1 week
  Sponsored by:	Axcient

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

Modified: head/usr.bin/nfsstat/nfsstat.c
==============================================================================
--- head/usr.bin/nfsstat/nfsstat.c	Wed Sep  2 17:31:06 2020	(r365261)
+++ head/usr.bin/nfsstat/nfsstat.c	Wed Sep  2 17:36:30 2020	(r365262)
@@ -721,7 +721,7 @@ exp_intpr(int clientOnly, int serverOnly, int nfs41)
 			    "{T:PutRootFH/%13.13s}{T:DelegRet/%13.13s}"
 			    "{T:GetAcl/%13.13s}{T:SetAcl/%13.13s}\n");
 			xo_emit("{:rellckown/%13ju}{:freestateid/%13ju}"
-			    "{:getacl/%13ju}{:delegret/%13ju}"
+			    "{:putrootfh/%13ju}{:delegret/%13ju}"
 			    "{:getacl/%13ju}{:setacl/%13ju}\n",
 			    (uintmax_t)ext_nfsstats.rpccnt[NFSPROC_RELEASELCKOWN],
 			    (uintmax_t)ext_nfsstats.rpccnt[NFSPROC_FREESTATEID],


More information about the svn-src-head mailing list