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:
parent
f84ea39c43
commit
9e35fc88b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13850
1 changed files with 11 additions and 0 deletions
11
sysutils/xsysinfo/files/patch-ae
Normal file
11
sysutils/xsysinfo/files/patch-ae
Normal 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)
|
Loading…
Reference in a new issue