diff --git a/components/dfs/filesystems/net/net_sockets.c b/components/dfs/filesystems/net/net_sockets.c index 2a5a385ece..a37633e18f 100644 --- a/components/dfs/filesystems/net/net_sockets.c +++ b/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;