aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>2001-03-03 15:15:33 +0000
committerDoug Rabson <dfr@FreeBSD.org>2001-03-03 15:15:33 +0000
commita76decc6f7afc9eeb840a0efe942faa261969ae7 (patch)
treeb2c27818d265be3da6f6bc9151e82bcc25608b9a /sys/miscfs
parent30c190a0aab838dfda243ce16d890a9654b5675c (diff)
Notes
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/procfs/procfs_vfsops.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/miscfs/procfs/procfs_vfsops.c b/sys/miscfs/procfs/procfs_vfsops.c
index fe7f390d7161..91daf9d4f616 100644
--- a/sys/miscfs/procfs/procfs_vfsops.c
+++ b/sys/miscfs/procfs/procfs_vfsops.c
@@ -87,9 +87,6 @@ procfs_mount(mp, path, data, ndp, p)
mp->mnt_data = 0;
vfs_getnewfsid(mp);
- (void) copyinstr(path, (caddr_t)mp->mnt_stat.f_mntonname, MNAMELEN, &size);
- bzero(mp->mnt_stat.f_mntonname + size, MNAMELEN - size);
-
size = sizeof("procfs") - 1;
bcopy("procfs", mp->mnt_stat.f_mntfromname, size);
bzero(mp->mnt_stat.f_mntfromname + size, MNAMELEN - size);