summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/ip/tn_ipopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/inet/ip/tn_ipopt.c')
-rw-r--r--usr/src/uts/common/inet/ip/tn_ipopt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/inet/ip/tn_ipopt.c b/usr/src/uts/common/inet/ip/tn_ipopt.c
index 2b96c7f544..9e5bdd4ff7 100644
--- a/usr/src/uts/common/inet/ip/tn_ipopt.c
+++ b/usr/src/uts/common/inet/ip/tn_ipopt.c
@@ -1433,7 +1433,7 @@ tsol_option_set(uchar_t **opts, uint_t *optlen, uint_t labellen,
/* need more room */
newopts = (uchar_t *)mi_alloc(newlen, BPRI_HI);
if (newopts == NULL)
- return (ENOMEM);
+ return (B_FALSE);
/*
* The supplied *opts can't be NULL in this case,
* since there's an existing label.
@@ -1465,5 +1465,5 @@ tsol_option_set(uchar_t **opts, uint_t *optlen, uint_t labellen,
}
*optlen = newlen;
- return (0);
+ return (B_TRUE);
}