diff options
-rw-r--r-- | lib/libc/gen/getvfsent.c | 2 | ||||
-rw-r--r-- | lib/libc/gen/sysctl.3 | 2 | ||||
-rw-r--r-- | usr.bin/nfsstat/nfsstat.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/getvfsent.c b/lib/libc/gen/getvfsent.c index 63fb1da..05b50f8 100644 --- a/lib/libc/gen/getvfsent.c +++ b/lib/libc/gen/getvfsent.c @@ -26,7 +26,7 @@ static int _vfs_index = 0; static int initvfs(void) { - int mib[2] = { CTL_FS, FS_VFSCONF }; + int mib[2] = { CTL_VFS, VFS_VFSCONF }; size_t size = 0; int rv; diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 6eb30eb..12ee90b 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -117,7 +117,7 @@ listed here, and described in separate sections below. .Bl -column CTLXMACHDEPXXX "Next level namesXXXXXX" -offset indent .It Sy Pa Name Next level names Description .It CTL\_DEBUG sys/sysctl.h Debugging -.It CTL\_FS sys/sysctl.h File system +.It CTL\_VFS sys/sysctl.h File system .It CTL\_HW sys/sysctl.h Generic CPU, I/O .It CTL\_KERN sys/sysctl.h High kernel limits .It CTL\_MACHDEP sys/sysctl.h Machine dependent diff --git a/usr.bin/nfsstat/nfsstat.c b/usr.bin/nfsstat/nfsstat.c index f2f6831..bb677fb 100644 --- a/usr.bin/nfsstat/nfsstat.c +++ b/usr.bin/nfsstat/nfsstat.c @@ -43,7 +43,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "From: @(#)nfsstat.c 8.1 (Berkeley) 6/6/93";*/ static const char rcsid[] = - "$Id: nfsstat.c,v 1.4 1995/10/29 09:53:00 phk Exp $"; + "$Id: nfsstat.c,v 1.5 1995/10/30 15:44:44 phk Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -163,7 +163,7 @@ readstats(stp) int name[3]; size_t buflen = sizeof *stp; - name[0] = CTL_FS; + name[0] = CTL_VFS; name[1] = MOUNT_NFS; name[2] = NFS_NFSSTATS; |