diff options
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vfsops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c index f44158e04e69..4794250aba8a 100644 --- a/sys/fs/fdescfs/fdesc_vfsops.c +++ b/sys/fs/fdescfs/fdesc_vfsops.c @@ -35,7 +35,7 @@ * * @(#)fdesc_vfsops.c 8.4 (Berkeley) 1/21/94 * - * $Id: fdesc_vfsops.c,v 1.3 1995/03/16 18:13:05 bde Exp $ + * $Id: fdesc_vfsops.c,v 1.4 1995/03/16 20:23:38 wollman Exp $ */ /* @@ -56,6 +56,8 @@ #include <sys/malloc.h> #include <miscfs/fdesc/fdesc.h> +int fdesc_statfs __P((struct mount *, struct statfs *, struct proc *)); + /* * Mount the per-process file descriptors (/dev/fd) */ @@ -96,6 +98,7 @@ fdesc_mount(mp, path, data, ndp, p) bzero(mp->mnt_stat.f_mntonname + size, MNAMELEN - size); bzero(mp->mnt_stat.f_mntfromname, MNAMELEN); bcopy("fdesc", mp->mnt_stat.f_mntfromname, sizeof("fdesc")); + (void)fdesc_statfs(mp, &mp->mnt_stat, p); return (0); } |