diff options
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/rpc.lockd/kern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.lockd/kern.c b/usr.sbin/rpc.lockd/kern.c index b9377132d4b6..416b77dc2347 100644 --- a/usr.sbin/rpc.lockd/kern.c +++ b/usr.sbin/rpc.lockd/kern.c @@ -83,7 +83,7 @@ nfslockdans(int vers, struct lockd_ans *ansp) { ansp->la_vers = vers; - return (write(devfd, ansp, sizeof *ansp)); + return (write(devfd, ansp, sizeof *ansp) <= 0); } /* |
