summaryrefslogtreecommitdiffstats
path: root/sys/fs/fdescfs
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2003-06-17 09:00:15 +0000
committertjr <tjr@FreeBSD.org>2003-06-17 09:00:15 +0000
commit4d4c4aa56482c21dbc7c99e18fd81d32ed832df3 (patch)
tree358eb032fb627a91f084fb24ce3a6a7b9d66780b /sys/fs/fdescfs
parentff88863eba66dace588ed49c2d72e3d25fb9f42f (diff)
downloadFreeBSD-src-4d4c4aa56482c21dbc7c99e18fd81d32ed832df3.zip
FreeBSD-src-4d4c4aa56482c21dbc7c99e18fd81d32ed832df3.tar.gz
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.
Diffstat (limited to 'sys/fs/fdescfs')
-rw-r--r--sys/fs/fdescfs/fdesc_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fdescfs/fdesc_vfsops.c b/sys/fs/fdescfs/fdesc_vfsops.c
index ff9396d..a958308 100644
--- a/sys/fs/fdescfs/fdesc_vfsops.c
+++ b/sys/fs/fdescfs/fdesc_vfsops.c
@@ -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);
}
OpenPOWER on IntegriCloud