mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
libstand: nfs_readlink() should return proper return code
The nfs_readlink() is returning constant 0 instead of variable. Reviewed by: avg Differential Revision: https://reviews.freebsd.org/D12201
This commit is contained in:
parent
0be04b100c
commit
7a42b7f27f
1 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,7 @@ nfs_readlink(struct nfs_iodesc *d, char *buf)
|
|||
buf[repl->len] = 0;
|
||||
done:
|
||||
free(pkt);
|
||||
return (0);
|
||||
return (rc);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue