Changeset 988 for vendor/current/lib/util/fsusage.c
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/lib/util/fsusage.c
r414 r988 129 129 #endif /* STAT_STATFS4 */ 130 130 131 #if defined(STAT_STATVFS) || defined(STAT_STATVFS64)/* SVR4 */131 #if defined(STAT_STATVFS) /* SVR4 */ 132 132 #ifdef HAVE_FRSIZE 133 133 # define CONVERT_BLOCKS(B) \ … … 138 138 #endif 139 139 140 #ifdef STAT_STATVFS64141 struct statvfs64 fsd;142 if (statvfs64(path, &fsd) < 0) return -1;143 #else144 140 struct statvfs fsd; 145 141 if (statvfs(path, &fsd) < 0) return -1; 146 #endif147 142 148 143 /* f_frsize isn't guaranteed to be supported. */
Note:
See TracChangeset
for help on using the changeset viewer.