Consumers of nfslockdans() seems to think it should return 0 on success, so
make it so.
This commit is contained in:
parent
56ad27535a
commit
d32c3b7dce
@ -83,7 +83,7 @@ nfslockdans(int vers, struct lockd_ans *ansp)
|
|||||||
{
|
{
|
||||||
|
|
||||||
ansp->la_vers = vers;
|
ansp->la_vers = vers;
|
||||||
return (write(devfd, ansp, sizeof *ansp));
|
return (write(devfd, ansp, sizeof *ansp) <= 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user