summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>1996-03-11 03:06:45 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>1996-03-11 03:06:45 +0000
commit782ff9b2f0d2ffb9bc41c59af6a222ee6b40a57b (patch)
tree0f91dea47b747c8a0c7029ecdbbdf5ad23d242d0
parent7e1f0d8dc5b898edbdcba2a7896ccf4f1830467a (diff)
Notes
-rw-r--r--lib/libc/gen/getvfsent.c2
-rw-r--r--lib/libc/gen/sysctl.32
-rw-r--r--usr.bin/nfsstat/nfsstat.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/gen/getvfsent.c b/lib/libc/gen/getvfsent.c
index 63fb1daf8ffa..05b50f86d4a9 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 6eb30ebb1a99..12ee90b3cd38 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 f2f6831004bf..bb677fba21ce 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;