diff options
| author | DengQilong <[email protected]> | 2017-11-10 20:10:45 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-11-13 14:18:05 +0800 |
| commit | e79f9e6b02cf33d6962941a0926777337bacd4b8 (patch) | |
| tree | 2fcef6a68cfee5234e1daf666db220335a63cc96 /components/dfs | |
| parent | 7b2628393bf923226a27766a918ca5c6a930e285 (diff) | |
fix bsp for lpc54608
Diffstat (limited to 'components/dfs')
| -rw-r--r-- | components/dfs/filesystems/nfs/rpc/clnt_generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/filesystems/nfs/rpc/clnt_generic.c b/components/dfs/filesystems/nfs/rpc/clnt_generic.c index 4e4e6a1658..dcc2eb2097 100644 --- a/components/dfs/filesystems/nfs/rpc/clnt_generic.c +++ b/components/dfs/filesystems/nfs/rpc/clnt_generic.c @@ -50,7 +50,7 @@ CLIENT *clnt_create (const char *hostname, const unsigned long prog, struct timeval tv; CLIENT *client; - h = gethostbyname(hostname); + h = (struct hostent *)gethostbyname(hostname); if (h == NULL) { rt_kprintf("unknown host\n"); return (NULL); |
