summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McDonald <danmcd@omniti.com>2014-01-13 02:38:23 -0500
committerDan McDonald <danmcd@omniti.com>2014-01-14 11:34:16 -0500
commitfc2b8335a96b36a076f9614647182dd090cb6ee0 (patch)
tree0823cef5631ee6581c7928cbe13820aaf94a06fe
parente1054916dcccb673a033fb9878063866d615ae62 (diff)
downloadillumos-joyent-fc2b8335a96b36a076f9614647182dd090cb6ee0.tar.gz
4463 NLM fails wrongly on clnt_control().
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Garrett D'Amore <garrett@damore.org>
-rw-r--r--usr/src/uts/common/klm/nlm_rpc_handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/klm/nlm_rpc_handle.c b/usr/src/uts/common/klm/nlm_rpc_handle.c
index 611c4b5b2d..9ddf56856c 100644
--- a/usr/src/uts/common/klm/nlm_rpc_handle.c
+++ b/usr/src/uts/common/klm/nlm_rpc_handle.c
@@ -150,7 +150,7 @@ refresh_nlm_rpc(struct nlm_host *hostp, nlm_rpc_t *rpcp)
* on.
*/
if (clnt_control(rpcp->nr_handle, CLSET_NODELAYONERR,
- (char *)&clset)) {
+ (char *)&clset) == FALSE) {
NLM_ERR("Unable to set CLSET_NODELAYONERR\n");
}
} else {