diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-09 00:08:18 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-06-09 00:08:18 +0000 |
commit | cd9f8ddacbdfdcfa75938f9fb803a86a4e2bbea4 (patch) | |
tree | 84dbabc493adcee6494a68abcab2c2462627d6e9 /nuttx/fs/nfs/nfs_socket.c | |
parent | c59c1efa5e7c9f89665a1e9a4d4792094684f5e9 (diff) | |
download | px4-nuttx-cd9f8ddacbdfdcfa75938f9fb803a86a4e2bbea4.tar.gz px4-nuttx-cd9f8ddacbdfdcfa75938f9fb803a86a4e2bbea4.tar.bz2 px4-nuttx-cd9f8ddacbdfdcfa75938f9fb803a86a4e2bbea4.zip |
NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4819 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nfs/nfs_socket.c')
-rw-r--r-- | nuttx/fs/nfs/nfs_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/nfs/nfs_socket.c b/nuttx/fs/nfs/nfs_socket.c index 3c6524d89..141196b01 100644 --- a/nuttx/fs/nfs/nfs_socket.c +++ b/nuttx/fs/nfs/nfs_socket.c @@ -201,13 +201,13 @@ tryagain: goto out; } - bcopy(dataout, &replyh, sizeof(struct rpc_reply_header)); + memcpy(&replyh, dataout, sizeof(struct rpc_reply_header)); if (replyh.rpc_verfi.authtype != 0) { error = fxdr_unsigned(int, replyh.rpc_verfi.authtype); - if ((nmp->nm_flag & NFSMNT_NFSV3) && error == NFSERR_TRYLATER) + if ((nmp->nm_flag & NFSMNT_NFSV3) && error == EAGAIN) { error = 0; trylater_delay *= NFS_TIMEOUTMUL; |