summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-10-19 08:20:42 +0000
committerbernard.xiong <[email protected]>2010-10-19 08:20:42 +0000
commitad3d42106a52dd9f5caa6b0a36078c65efd12267 (patch)
tree9daf6a50233a24a8a0e9d4c468b6e793f85aa3f1 /src
parente7fb6e7be2e578635e59232643680ba815a088f5 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index caf92e19b5..f60877ccfc 100644
--- a/src/module.c
+++ b/src/module.c
@@ -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);