diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-23 20:33:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-23 20:33:25 +0000 |
commit | faf5098e0f900b5e5fcd6bea40e6ff9ff184e137 (patch) | |
tree | 34fc95aa94c99c8990295e1c6db3fe3411a29204 /nuttx/fs/nfs/nfs_socket.c | |
parent | 942bbb7ad67be9b4117e752fcb4bcac280452f9f (diff) | |
download | px4-nuttx-faf5098e0f900b5e5fcd6bea40e6ff9ff184e137.tar.gz px4-nuttx-faf5098e0f900b5e5fcd6bea40e6ff9ff184e137.tar.bz2 px4-nuttx-faf5098e0f900b5e5fcd6bea40e6ff9ff184e137.zip |
NFS updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4647 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 feb405719..d659a097e 100644 --- a/nuttx/fs/nfs/nfs_socket.c +++ b/nuttx/fs/nfs/nfs_socket.c @@ -48,6 +48,7 @@ #include <nuttx/fs/nfs.h> +#include "nfs.h" #include "rpc.h" #include "rpc_v2.h" #include "nfs_proto.h" @@ -219,12 +220,12 @@ tryagain: if (error == ESTALE) { ndbg("%s: ESTALE on mount from server \n", - nmp->nm_rpcclnt.rc_prog->prog_name); + nmp->nm_rpcclnt->rc_prog->prog_name); } else { ndbg("%s: unknown error %d from server \n", - nmp->nm_rpcclnt.rc_prog->prog_name, error); + nmp->nm_rpcclnt->rc_prog->prog_name, error); } goto out; |