rxstats: correctly report vlserver VL_* RPC stats
[openafs.git] / src / libadmin / samples / rxstat_get_peer.c
index cc4bd7a..4fa8b61 100644 (file)
 #include <afs/afs_clientAdmin.h>
 #include <afs/afs_utilAdmin.h>
 
-#ifdef AFS_DARWIN_ENV
-pthread_mutex_t des_init_mutex = PTHREAD_MUTEX_INITIALIZER;
-pthread_mutex_t des_random_mutex = PTHREAD_MUTEX_INITIALIZER;
-pthread_mutex_t rxkad_random_mutex = PTHREAD_MUTEX_INITIALIZER;
-#endif /* AFS_DARWIN_ENV */
-
 #include <afs/afsint.h>
 #define FSINT_COMMON_XG
 #include <afs/afscbint.h>
@@ -121,7 +115,7 @@ GetPrintStrings(afs_RPCStats_p statp, char *ifName, char *ifRole,
        *funcListLen = VOTE_NO_OF_STAT_FUNCS;
        break;
     case VL_STATINDEX:
-       strcpy(ifName, "volserver interface");
+       strcpy(ifName, "vlserver interface");
        *funcList = VL_function_names;
        *funcListLen = VL_NO_OF_STAT_FUNCS;
        break;