diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 2001-03-03 15:15:33 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 2001-03-03 15:15:33 +0000 |
| commit | a76decc6f7afc9eeb840a0efe942faa261969ae7 (patch) | |
| tree | b2c27818d265be3da6f6bc9151e82bcc25608b9a /sys/miscfs | |
| parent | 30c190a0aab838dfda243ce16d890a9654b5675c (diff) | |
Notes
Diffstat (limited to 'sys/miscfs')
| -rw-r--r-- | sys/miscfs/procfs/procfs_vfsops.c | 3 |
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); |
