diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-23 00:15:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-23 00:15:53 +0000 |
commit | 7fba49ce75a6676efa2b425076138511672d5ae4 (patch) | |
tree | fba340cad7318cf3726d6dc190b37662a02640b1 /nuttx/fs/nfs/nfs_socket.c | |
parent | b4d61b2271d14e5e73a54eddae16502d30e2825e (diff) | |
download | px4-nuttx-7fba49ce75a6676efa2b425076138511672d5ae4.tar.gz px4-nuttx-7fba49ce75a6676efa2b425076138511672d5ae4.tar.bz2 px4-nuttx-7fba49ce75a6676efa2b425076138511672d5ae4.zip |
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4764 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_socket.c')
-rw-r--r-- | nuttx/fs/nfs/nfs_socket.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/fs/nfs/nfs_socket.c b/nuttx/fs/nfs/nfs_socket.c index 5234c86a2..b2635c291 100644 --- a/nuttx/fs/nfs/nfs_socket.c +++ b/nuttx/fs/nfs/nfs_socket.c @@ -125,7 +125,7 @@ int nfs_connect(struct nfsmount *nmp) rpc = (struct rpcclnt *)kzalloc(sizeof(struct rpcclnt)); if (!rpc) { - fdbg("Failed to allocate rpc structure\n"); + ndbg("Failed to allocate rpc structure\n"); return -ENOMEM; } @@ -146,6 +146,7 @@ int nfs_connect(struct nfsmount *nmp) //rpc->rc_authtype = RPCAUTH_NULL; /* for now */ rpc->rc_path = nmp->nm_path; rpc->rc_name = &nmp->nm_nam; +//rpc->rc_fh = nmp->nm_fh; rpc->rc_sotype = nmp->nm_sotype; rpc->rc_soproto = nmp->nm_soproto; @@ -181,7 +182,7 @@ void nfs_safedisconnect(struct nfsmount *nmp) #endif int nfs_request(struct nfsmount *nmp, int procnum, FAR const void *datain, - void *dataout) + FAR void *dataout) { int error; struct rpcclnt *clnt= nmp->nm_rpcclnt; |