diff options
| author | [email protected] <[email protected]> | 2012-10-23 04:08:54 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-10-23 04:08:54 +0000 |
| commit | e956eedc2043c2636d7e4d6036362f761c1e4499 (patch) | |
| tree | 9b8bcbf2bb5922a2392912b02c35912c421ae67e /components/dfs | |
| parent | 6fa4aa965c07ffd8e326180e8380c950a78d1fbb (diff) | |
fill st_blksize of struct stat in dfs_def.h(this filed has nothing to do with jffs2)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2369 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs')
| -rw-r--r-- | components/dfs/filesystems/jffs2/dfs_jffs2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/jffs2/dfs_jffs2.c b/components/dfs/filesystems/jffs2/dfs_jffs2.c index f7999722ec..2bbfe972bd 100644 --- a/components/dfs/filesystems/jffs2/dfs_jffs2.c +++ b/components/dfs/filesystems/jffs2/dfs_jffs2.c @@ -684,7 +684,7 @@ static int dfs_jffs2_stat(struct dfs_filesystem* fs, const char *path, struct st st->st_dev = 0; st->st_size = s.st_size; st->st_mtime = s.st_mtime; - /*st->st_blksize = ;*/ //fixme: what's this field? + st->st_blksize = 1;//fixme: what's this field? return 0; } |
