Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Sep 2020 13:16:20 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r365503 - stable/12/usr.bin/nfsstat
Message-ID:  <202009091316.089DGKGZ075368@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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],



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