Improve the Device File System of the POSIX compatibility

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1017 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong
2010-10-19 08:20:42 +00:00
parent e7fb6e7be2
commit ad3d42106a
3 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ rt_module_t rt_module_load_from_file(const rt_uint8_t* name, const char* filenam
{
int fd, length;
struct rt_module* module;
struct _stat s;
struct stat s;
char *buffer;
stat(filename, &s);