diff --git a/sys/kern/vfs_init.c b/sys/kern/vfs_init.c index 656ae4e67ab6..b829b48b61f3 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: diff --git a/sys/sys/mount.h b/sys/sys/mount.h index 3f20f16c3f67..fe9f4cbb000b 100644 --- a/sys/sys/mount.h +++ b/sys/sys/mount.h @@ -481,6 +481,15 @@ int getmntinfo __P((struct statfs **, int)); int mount __P((int, const char *, int, void *)); int statfs __P((const char *, struct statfs *)); int unmount __P((const char *, int)); + +/* C library stuff */ +struct vfsconf *getvfsbyname __P((const char *)); +struct vfsconf *getvfsbytype __P((int)); +struct vfsconf *getvfsent __P((void)); +void setvfsent __P((int)); +void endvfsent __P((void)); +int vfsisloadable __P((const char *)); +int vfsload __P((const char *)); __END_DECLS #endif /* KERNEL */