X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=utils%2Fnfsstat%2Fnfsstat.c;h=d2cca8d9fda85b8d4b6284fad12dbabb4814e02a;hp=ed8cfc829a24f19a9c980512d9afbeae496fcfde;hb=d03090be4f440d70328988e9f792f3bd0ebd956b;hpb=acf95d32a44fd8357c24e8a04ec53fc6900bfc58 diff --git a/utils/nfsstat/nfsstat.c b/utils/nfsstat/nfsstat.c index ed8cfc8..d2cca8d 100644 --- a/utils/nfsstat/nfsstat.c +++ b/utils/nfsstat/nfsstat.c @@ -207,7 +207,7 @@ void usage(char *name) { printf("Usage: %s [OPTION]...\n\ \n\ - -m, --mounted\t\tShow statistics on mounted NFS filesystems\n\ + -m, --mounts\t\tShow statistics on mounted NFS filesystems\n\ -c, --client\t\tShow NFS client statistics\n\ -s, --server\t\tShow NFS server statistics\n\ -2\t\t\tShow NFS version 2 statistics\n\ @@ -716,7 +716,7 @@ mounts(const char *name) if (!(type = strtok(NULL, " \t"))) continue; - if (strcmp(type, "nfs")) { + if (strcmp(type, "nfs") && strcmp(type,"nfs4")) { continue; }