diff options
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; |