FreeBSD Bugzilla – Attachment 181062 Details for
Bug 218011
net-mgmt/net-snmp: Always pass valid flags to getfsstat()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net-snmp.getfsstat.patch
net-snmp.getfsstat.patch (text/plain), 1.22 KB, created by
John Baldwin
on 2017-03-22 16:50:39 UTC
(
hide
)
Description:
net-snmp.getfsstat.patch
Filename:
MIME Type:
Creator:
John Baldwin
Created:
2017-03-22 16:50:39 UTC
Size:
1.22 KB
patch
obsolete
>Index: files/patch-agent_mibgroup_hardware_fsys_fsys__getfsstats.c >=================================================================== >--- files/patch-agent_mibgroup_hardware_fsys_fsys__getfsstats.c (nonexistent) >+++ files/patch-agent_mibgroup_hardware_fsys_fsys__getfsstats.c (working copy) >@@ -0,0 +1,11 @@ >+--- agent/mibgroup/hardware/fsys/fsys_getfsstats.c.orig 2017-03-22 16:28:29 UTC >++++ agent/mibgroup/hardware/fsys/fsys_getfsstats.c >+@@ -116,7 +116,7 @@ netsnmp_fsys_arch_load( void ) >+ /* >+ * Retrieve information about the currently mounted filesystems... >+ */ >+- n = NSFS_GETFSSTAT( NULL, 0, 0 ); >++ n = NSFS_GETFSSTAT( NULL, 0, MNT_NOWAIT ); >+ if ( n==0 ) >+ return; >+ stats = (struct NSFS_STATFS *)malloc( n * sizeof( struct NSFS_STATFS )); > >Property changes on: files/patch-agent_mibgroup_hardware_fsys_fsys__getfsstats.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 218011
: 181062