Change fs->fs_fsmnt to mp->mnt_stat.f_mntonname in warnings about missing

MAC and ACLs support in the kernel. If it is a first mount, fs->fs_fsmnt
is empty.

MFC after:	1 week
This commit is contained in:
Pawel Jakub Dawidek 2006-07-09 14:10:35 +00:00
parent ed940a828d
commit 946478fca6

View File

@ -751,7 +751,7 @@ ffs_mountfs(devvp, mp, td)
#else
printf(
"WARNING: %s: multilabel flag on fs but no MAC support\n",
fs->fs_fsmnt);
mp->mnt_stat.f_mntonname);
#endif
if ((fs->fs_flags & FS_ACLS) != 0)
#ifdef UFS_ACL
@ -759,7 +759,7 @@ ffs_mountfs(devvp, mp, td)
#else
printf(
"WARNING: %s: ACLs flag on fs but no ACLs support\n",
fs->fs_fsmnt);
mp->mnt_stat.f_mntonname);
#endif
ump->um_mountp = mp;
ump->um_dev = dev;