diff options
| author | Olivier Houchard <cognet@FreeBSD.org> | 2005-03-16 23:55:48 +0000 |
|---|---|---|
| committer | Olivier Houchard <cognet@FreeBSD.org> | 2005-03-16 23:55:48 +0000 |
| commit | d32c3b7dcefa78525e7253f78c754f99bb06f411 (patch) | |
| tree | 54d5e54548348f1cb126e822b8e8ef9797ed9c3d /usr.sbin | |
| parent | 56ad27535a0c5dda4058362a6a13bfa920d98320 (diff) | |
Notes
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); } /* |
