aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>1998-10-10 19:41:31 +0800
committergj <gj@FreeBSD.org>1998-10-10 19:41:31 +0800
commitfba4c7bbf3a49e98af6858d4d0f0253c6437a1bf (patch)
tree860d86cf398d168984de4955e909c1f5dec8fbf1
parent1a8920e27e78733438740585b7c6e1d72a8d2e67 (diff)
downloadfreebsd-ports-gnome-fba4c7bbf3a49e98af6858d4d0f0253c6437a1bf.tar.gz
freebsd-ports-gnome-fba4c7bbf3a49e98af6858d4d0f0253c6437a1bf.tar.zst
freebsd-ports-gnome-fba4c7bbf3a49e98af6858d4d0f0253c6437a1bf.zip
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
-rw-r--r--sysutils/xperfmon/files/freebsd_system.c2
-rw-r--r--sysutils/xperfmon3/files/freebsd_system.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/xperfmon/files/freebsd_system.c b/sysutils/xperfmon/files/freebsd_system.c
index a4cd856c9b1a..f7ae3895727b 100644
--- a/sysutils/xperfmon/files/freebsd_system.c
+++ b/sysutils/xperfmon/files/freebsd_system.c
@@ -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;
diff --git a/sysutils/xperfmon3/files/freebsd_system.c b/sysutils/xperfmon3/files/freebsd_system.c
index a4cd856c9b1a..f7ae3895727b 100644
--- a/sysutils/xperfmon3/files/freebsd_system.c
+++ b/sysutils/xperfmon3/files/freebsd_system.c
@@ -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;