svn commit: r365503 - stable/12/usr.bin/nfsstat

Alan Somers asomers at FreeBSD.org
Wed Sep 9 13:16:20 UTC 2020


Author: asomers
Date: Wed Sep  9 13:16:20 2020
New Revision: 365503
URL: https://svnweb.freebsd.org/changeset/base/365503

Log:
  MFC r365262:
  
  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
  Sponsored by:	Axcient

Modified:
  stable/12/usr.bin/nfsstat/nfsstat.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.bin/nfsstat/nfsstat.c
==============================================================================
--- stable/12/usr.bin/nfsstat/nfsstat.c	Wed Sep  9 12:58:19 2020	(r365502)
+++ stable/12/usr.bin/nfsstat/nfsstat.c	Wed Sep  9 13:16:20 2020	(r365503)
@@ -731,7 +731,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-all mailing list