mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 16:03:30 +08:00
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
This commit is contained in:
parent
6fa4aa965c
commit
e956eedc20
@ -684,7 +684,7 @@ static int dfs_jffs2_stat(struct dfs_filesystem* fs, const char *path, struct st
|
|||||||
st->st_dev = 0;
|
st->st_dev = 0;
|
||||||
st->st_size = s.st_size;
|
st->st_size = s.st_size;
|
||||||
st->st_mtime = s.st_mtime;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user