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:
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
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue