diff options
author | wollman <wollman@FreeBSD.org> | 1994-09-22 01:05:09 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-09-22 01:05:09 +0000 |
commit | 57d5fc27aeeacccb0bf162a0c76960fcee592e70 (patch) | |
tree | 8c52550f6170a630dd7df77e929cd887cf57c8a8 /sys/kern/vfs_init.c | |
parent | 664e99fa6ed276926f0c1d86f833274643654d19 (diff) | |
download | FreeBSD-src-57d5fc27aeeacccb0bf162a0c76960fcee592e70.zip FreeBSD-src-57d5fc27aeeacccb0bf162a0c76960fcee592e70.tar.gz |
mount.h: Declare getvfs* functions from libc.
vfs_init.c: Fix fs_sysctl() so that getvfs* functions actually work.
Diffstat (limited to 'sys/kern/vfs_init.c')
-rw-r--r-- | sys/kern/vfs_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index 656ae4e..b829b48 100644 --- a/sys/kern/vfs_init.c +++ b/sys/kern/vfs_init.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_init.c 8.3 (Berkeley) 1/4/94 - * $Id: vfs_init.c,v 1.4 1994/08/18 22:35:08 wollman Exp $ + * $Id: vfs_init.c,v 1.5 1994/09/21 03:46:48 wollman Exp $ */ @@ -291,7 +291,7 @@ fs_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) int i; int error; int buflen = *oldlenp; - caddr_t where = newp, start = newp; + caddr_t where = oldp, start = oldp; switch (name[0]) { case FS_VFSCONF: |