Add patch-ae to change MNT_NFS to MOUNT_NFS. Don't know how I managed

to screw that up.

This should now work for -stable.

Reported by: Satoshi
This commit is contained in:
Gary Jennejohn 1998-10-10 11:50:09 +00:00
parent f84ea39c43
commit 9e35fc88b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13850

View file

@ -0,0 +1,11 @@
--- sysinfo.c.orig Sat Oct 10 13:43:22 1998
+++ sysinfo.c Sat Oct 10 13:43:40 1998
@@ -364,7 +364,7 @@
#if (__FreeBSD_version >= 300003) /* ?? */
mib[1] = MNT_EXPORTED;
#else
- mib[1] = MNT_NFS;
+ mib[1] = MOUNT_NFS;
#endif
mib[2] = NFS_NFSSTATS;
if (sysctl( mib, 3, &nfsstats, &size, NULL, 0) < 0)