Set f_mntfromname[] to "fdescfs" instead of "fdesc" for consistency

with other synthetic filesystems, which have f_mntfromname the same
as f_fstypename. Noticed by Sean Kelly on -current.
This commit is contained in:
Tim J. Robbins 2003-06-17 09:00:15 +00:00
parent bbaba031a5
commit 8e78890396

View File

@ -96,7 +96,7 @@ fdesc_mount(mp, ndp, td)
vfs_getnewfsid(mp);
bzero(mp->mnt_stat.f_mntfromname, MNAMELEN);
bcopy("fdesc", mp->mnt_stat.f_mntfromname, sizeof("fdesc"));
bcopy("fdescfs", mp->mnt_stat.f_mntfromname, sizeof("fdescfs"));
(void)fdesc_statfs(mp, &mp->mnt_stat, td);
return (0);
}