Browse Source

[DFS] fix the name mistake in socket function.

Bernard Xiong 9 years ago
parent
commit
7c38c59f62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/dfs/filesystems/net/net_sockets.c

+ 1 - 1
components/dfs/filesystems/net/net_sockets.c

@@ -219,7 +219,7 @@ int socket(int domain, int type, int protocol)
         d->type = FT_SOCKET;
         d->path = RT_NULL;
 
-        d->fs = dfs_lwip_get_fs();
+        d->fs = dfs_net_get_fs();
 
         d->flags = DFS_O_RDWR; /* set flags as read and write */
         d->size = 0;