diff options
| author | heyuanjie <xx> | 2018-07-30 11:12:12 +0800 |
|---|---|---|
| committer | heyuanjie <xx> | 2018-07-30 11:12:12 +0800 |
| commit | c79fbd373fc8b300cb2f4564aa934a4e93b81547 (patch) | |
| tree | 1a36c2e650fa13a66eecf21224eda29c567cb731 /components/dfs/src | |
| parent | e6fedb6e9bfbef07c4bcc065a5538d466abee19f (diff) | |
[lwp]给thread添加lwp成员
Diffstat (limited to 'components/dfs/src')
| -rw-r--r-- | components/dfs/src/dfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/src/dfs.c b/components/dfs/src/dfs.c index 46e3e51229..954c7f0731 100644 --- a/components/dfs/src/dfs.c +++ b/components/dfs/src/dfs.c @@ -510,7 +510,7 @@ struct dfs_fdtable* dfs_fdtable_get(void) #ifdef RT_USING_LWP struct rt_lwp *lwp; - lwp = (struct rt_lwp *)rt_thread_self()->user_data; + lwp = (struct rt_lwp *)rt_thread_self()->lwp; if (lwp) fdt = &lwp->fdt; else |
