mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-22 00:03:02 +08:00
[DFS] fix the name mistake in socket function.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user