diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-20 20:54:45 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-20 20:54:45 +0000 |
commit | d30d34a6c826747aa920cb5495a635cb758858a0 (patch) | |
tree | 65e2d9fba872a4c59786de4c1a478b77767c5bcf /nuttx/include/sys/statfs.h | |
parent | e23fb305e00f5c2cca3d5eaa898c556030e92076 (diff) | |
download | px4-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.h | 12 |
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 */ }; /**************************************************************************** |