summaryrefslogtreecommitdiff
path: root/nuttx/include/sys/statfs.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-20 20:54:45 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-20 20:54:45 +0000
commitd30d34a6c826747aa920cb5495a635cb758858a0 (patch)
tree65e2d9fba872a4c59786de4c1a478b77767c5bcf /nuttx/include/sys/statfs.h
parente23fb305e00f5c2cca3d5eaa898c556030e92076 (diff)
downloadpx4-nuttx-d30d34a6c826747aa920cb5495a635cb758858a0.tar.gz
px4-nuttx-d30d34a6c826747aa920cb5495a635cb758858a0.tar.bz2
px4-nuttx-d30d34a6c826747aa920cb5495a635cb758858a0.zip
Fix AVR warnings; FAT FS needs to use off_t instead of size_t
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3728 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/sys/statfs.h')
-rw-r--r--nuttx/include/sys/statfs.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/include/sys/statfs.h b/nuttx/include/sys/statfs.h
index 7f80902d6..d37b056c3 100644
--- a/nuttx/include/sys/statfs.h
+++ b/nuttx/include/sys/statfs.h
@@ -108,13 +108,13 @@
struct statfs
{
uint32_t f_type; /* Type of filesystem (see definitions above) */
+ size_t f_namelen; /* Maximum length of filenames */
size_t f_bsize; /* Optimal block size for transfers */
- size_t f_blocks; /* Total data blocks in the file system of this size */
- size_t f_bfree; /* Free blocks in the file system */
- size_t f_bavail; /* Free blocks avail to non-superuser */
- size_t f_files; /* Total file nodes in the file system */
- size_t f_ffree; /* Free file nodes in the file system */
- uint32_t f_namelen; /* Maximum length of filenames */
+ off_t f_blocks; /* Total data blocks in the file system of this size */
+ off_t f_bfree; /* Free blocks in the file system */
+ off_t f_bavail; /* Free blocks avail to non-superuser */
+ off_t f_files; /* Total file nodes in the file system */
+ off_t f_ffree; /* Free file nodes in the file system */
};
/****************************************************************************