Consumers of nfslockdans() seems to think it should return 0 on success, so

make it so.
This commit is contained in:
Olivier Houchard 2005-03-16 23:55:48 +00:00
parent 56ad27535a
commit d32c3b7dce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143723

View File

@ -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);
}
/*