mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue