Line 0
Link Here
|
|
|
1 |
--- agent/mibgroup/hardware/fsys/fsys_getfsstats.c.orig 2017-03-22 16:28:29 UTC |
2 |
+++ agent/mibgroup/hardware/fsys/fsys_getfsstats.c |
3 |
@@ -116,7 +116,7 @@ netsnmp_fsys_arch_load( void ) |
4 |
/* |
5 |
* Retrieve information about the currently mounted filesystems... |
6 |
*/ |
7 |
- n = NSFS_GETFSSTAT( NULL, 0, 0 ); |
8 |
+ n = NSFS_GETFSSTAT( NULL, 0, MNT_NOWAIT ); |
9 |
if ( n==0 ) |
10 |
return; |
11 |
stats = (struct NSFS_STATFS *)malloc( n * sizeof( struct NSFS_STATFS )); |