summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Mayhew <smayhew@redhat.com>2015-06-03 15:02:02 -0400
committerSteve Dickson <steved@redhat.com>2015-06-03 15:02:02 -0400
commitc1395ccf1afcf949f873905253494aeb60b632c9 (patch)
tree2359c38786acea5d90191878d1ccf92a3fa11f83
parente69eaaf93626e87dd93b345e1c84ffdd6c66ce6c (diff)
downloadnfs-utils-c1395ccf1afcf949f873905253494aeb60b632c9.tar.gz
nfs-utils-c1395ccf1afcf949f873905253494aeb60b632c9.tar.xz
nfs-utils-c1395ccf1afcf949f873905253494aeb60b632c9.zip
mountstats: Fix the retrans counter output by the nfsstat command
Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--tools/mountstats/mountstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
index 38943eb..011bb42 100644
--- a/tools/mountstats/mountstats.py
+++ b/tools/mountstats/mountstats.py
@@ -474,7 +474,7 @@ class DeviceData:
# authrefresh stats don't actually get captured in
# /proc/self/mountstats, so we fudge it here
authrefrsh = sends
- return (sends, trans, authrefrsh)
+ return (sends, retrans, authrefrsh)
def display_nfsstat_stats(self):
"""Pretty-print nfsstat-style stats