[DFS] fix the name mistake in socket function.

This commit is contained in:
Bernard Xiong 2016-05-10 09:32:50 +08:00
parent 64feef0dde
commit 7c38c59f62
1 changed files with 1 additions and 1 deletions

View File

@ -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;