summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/procfs/procfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/procfs/procfs_vfsops.c')
-rw-r--r--sys/miscfs/procfs/procfs_vfsops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c
index b933a18..4113063 100644
--- a/sys/miscfs/procfs/procfs_vfsops.c
+++ b/sys/miscfs/procfs/procfs_vfsops.c
@@ -36,7 +36,7 @@
*
* @(#)procfs_vfsops.c 8.4 (Berkeley) 1/21/94
*
- * $Id: procfs_vfsops.c,v 1.8 1995/03/16 18:13:47 bde Exp $
+ * $Id: procfs_vfsops.c,v 1.9 1995/03/16 20:23:42 wollman Exp $
*/
/*
@@ -56,6 +56,8 @@
#include <miscfs/procfs/procfs.h>
#include <vm/vm.h> /* for PAGE_SIZE */
+int procfs_statfs __P((struct mount *, struct statfs *, struct proc *));
+
/*
* VFS Operations.
*
@@ -90,7 +92,7 @@ procfs_mount(mp, path, data, ndp, p)
size = sizeof("procfs") - 1;
bcopy("procfs", mp->mnt_stat.f_mntfromname, size);
bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size);
-
+ (void)procfs_statfs(mp, &mp->mnt_stat, p);
return (0);
}
OpenPOWER on IntegriCloud