mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-27 23:38:32 +08:00
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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user