1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/sysutils/xsysinfo/files/patch-ae
Gary Jennejohn 9e35fc88b9 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
1998-10-10 11:50:09 +00:00

12 lines
308 B
Plaintext

--- 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)