summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c b/components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c
index f874a5f383..6d44e78d07 100644
--- a/components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c
+++ b/components/dfs/dfs_v1/filesystems/9pfs/dfs_9pfs.c
@@ -923,7 +923,7 @@ static int dfs_9pfs_mount(struct dfs_filesystem *fs,
unsigned long rwflag, const void *data)
{
rt_ubase_t level;
- struct p9_protocol *p9p, *p9p_tmp;
+ struct p9_protocol *p9p = RT_NULL, *p9p_tmp;
struct p9_connection *conn = RT_NULL;
if (!data)