Fix a slip of the fingers in freebsd_system.c. MNT_NFS should have been

MOUNT_NFS for -stable.

Now I'm not certain whether MNT_EXPORTED is correct for -current :( I can't
test it because I don't use NFS.

Pointed out by: Satoshi
This commit is contained in:
Gary Jennejohn 1998-10-10 11:41:31 +00:00
parent 62e0e80351
commit f84ea39c43
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13849
2 changed files with 2 additions and 2 deletions

View file

@ -452,7 +452,7 @@ collect_stats()
#if (__FreeBSD_version >= 300003) /* ?? */
mib[1] = MNT_EXPORTED;
#else
mib[1] = MNT_NFS;
mib[1] = MOUNT_NFS;
#endif
mib[2] = NFS_NFSSTATS;

View file

@ -452,7 +452,7 @@ collect_stats()
#if (__FreeBSD_version >= 300003) /* ?? */
mib[1] = MNT_EXPORTED;
#else
mib[1] = MNT_NFS;
mib[1] = MOUNT_NFS;
#endif
mib[2] = NFS_NFSSTATS;