diff options
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index d80be58..19bbb81 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -739,7 +739,8 @@ ffs_mountfs(devvp, mp, td) /* * Set FS local "last mounted on" information (NULL pad) */ - vfs_mountedfrom(mp, fs->fs_fsmnt); + bzero(fs->fs_fsmnt, MAXMNTLEN); + strlcpy(fs->fs_fsmnt, mp->mnt_stat.f_mntonname, MAXMNTLEN); if( mp->mnt_flag & MNT_ROOTFS) { /* |