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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=323100
@ -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 New Issue
Block a user