diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2003-05-15 03:19:30 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2003-05-15 03:19:30 +0000 |
| commit | eda8b2821f32a27603b57100e0c6d08e931bd3ee (patch) | |
| tree | aacf3f47e8175948e676ce6d04c02ab0630ce509 | |
| parent | 18e8d6d786d52500dee7263f13af40595040c4a4 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/rpc.lockd/kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpc.lockd/kern.c b/usr.sbin/rpc.lockd/kern.c index 25762589924b3..4bd2f7236b81e 100644 --- a/usr.sbin/rpc.lockd/kern.c +++ b/usr.sbin/rpc.lockd/kern.c @@ -487,7 +487,7 @@ lock_answer(int pid, netobj *netcookie, int result, int *pid_p, int version) break; case nlm4_denied: if (pid_p == NULL) - ans.la_errno = EACCES; + ans.la_errno = EAGAIN; else { /* this is an answer to a nlm_test msg */ ans.la_set_getlk_pid = 1; @@ -530,7 +530,7 @@ lock_answer(int pid, netobj *netcookie, int result, int *pid_p, int version) break; case nlm_denied: if (pid_p == NULL) - ans.la_errno = EACCES; + ans.la_errno = EAGAIN; else { /* this is an answer to a nlm_test msg */ ans.la_set_getlk_pid = 1; |
