summaryrefslogtreecommitdiffstats
path: root/sys/compat/linprocfs/linprocfs_vfsops.c
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-03-12 03:16:56 +0000
committerjlemon <jlemon@FreeBSD.org>2001-03-12 03:16:56 +0000
commit9060ef19e9519428bb13225828f90a85571542df (patch)
treee336cee327fa5c64c3713ae052fa321fde6c5464 /sys/compat/linprocfs/linprocfs_vfsops.c
parent9b532c7054cf3ae570bbf4f36637b7a80564cee5 (diff)
downloadFreeBSD-src-9060ef19e9519428bb13225828f90a85571542df.zip
FreeBSD-src-9060ef19e9519428bb13225828f90a85571542df.tar.gz
Eliminate global node types and instead use an operations vector for
each node in order to make it easier to add new entries. Rewrite the internal directory structure so that it is possible to have independent subdirectories. Utilize this to add /proc/net/dev. Reviewed by: DES
Diffstat (limited to 'sys/compat/linprocfs/linprocfs_vfsops.c')
-rw-r--r--sys/compat/linprocfs/linprocfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linprocfs/linprocfs_vfsops.c b/sys/compat/linprocfs/linprocfs_vfsops.c
index 1e4bc87..d635522 100644
--- a/sys/compat/linprocfs/linprocfs_vfsops.c
+++ b/sys/compat/linprocfs/linprocfs_vfsops.c
@@ -129,7 +129,7 @@ linprocfs_root(mp, vpp)
struct vnode **vpp;
{
- return (linprocfs_allocvp(mp, vpp, 0, Proot));
+ return (linprocfs_allocvp(mp, vpp, 0, root_dir));
}
/*
OpenPOWER on IntegriCloud