summaryrefslogtreecommitdiff
path: root/net/coda5_client/patches/patch-da
blob: b729718fd7ca259df596509c73cd093e202d611a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-da,v 1.1 1999/04/28 23:57:04 rvb Exp $

diff -u /usr/pkgsrc/net/coda-5.2.2/coda-src/rpc2/debug.c ./coda-src/rpc2/debug.c
--- /usr/pkgsrc/net/coda-5.2.2/coda-src/rpc2/debug.c	Mon Apr  5 18:00:37 1999
+++ ./coda-src/rpc2/debug.c	Mon Apr 26 14:05:08 1999
@@ -194,11 +194,11 @@
 	    hPtr->RTT % ((1 << RPC2_RTT_SHIFT) - 1),
 	    hPtr->RTTVar >> RPC2_RTTVAR_SHIFT,
 	    hPtr->RTTVar % ((1 << RPC2_RTTVAR_SHIFT) - 1));
-    fprintf(tFile, "\tBW = %ld.%03ld, BWvar = %ld.%03ld\n",
-	    hPtr->BW >> RPC2_BW_SHIFT,
-	    hPtr->BW % ((1 << RPC2_BW_SHIFT) - 1),
-	    hPtr->BWVar >> RPC2_BWVAR_SHIFT,
-	    hPtr->BWVar % ((1 << RPC2_BWVAR_SHIFT) - 1));
+    fprintf(tFile, "\tByteRate = %ld.%03ld ns/B, BRvar = %ld.%03ld\n",
+	    hPtr->BR >> RPC2_BR_SHIFT,
+	    hPtr->BR % ((1 << RPC2_BR_SHIFT) - 1),
+	    hPtr->BRVar >> RPC2_BRVAR_SHIFT,
+	    hPtr->BRVar % ((1 << RPC2_BRVAR_SHIFT) - 1));
 
     PrintNetLog("RPC2", hPtr->RPC2_NumEntries, hPtr->RPC2_Log, tFile);
     PrintNetLog("SE",   hPtr->SE_NumEntries,   hPtr->SE_Log,   tFile);