From c79fbd373fc8b300cb2f4564aa934a4e93b81547 Mon Sep 17 00:00:00 2001 From: heyuanjie Date: Mon, 30 Jul 2018 11:12:12 +0800 Subject: [lwp]给thread添加lwp成员 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/dfs/src/dfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/dfs/src') 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 -- cgit v1.3.1