diff options
| author | Toomas Soome <tsoome@me.com> | 2019-04-28 09:17:56 +0300 |
|---|---|---|
| committer | Toomas Soome <tsoome@me.com> | 2019-05-15 23:05:16 +0300 |
| commit | 2fcabb599ef45ae10a2847045a10486dd69b9b84 (patch) | |
| tree | e22d481139156bf7c9df9b15e1da7e5a5dfb2c8b | |
| parent | 6895f6f4d5c99fd997130635c4a4bff68554bb8e (diff) | |
| download | illumos-joyent-2fcabb599ef45ae10a2847045a10486dd69b9b84.tar.gz | |
10863 idm: comparison between pointer and integer
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
| -rw-r--r-- | usr/src/uts/common/io/idm/idm_text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/idm/idm_text.c b/usr/src/uts/common/io/idm/idm_text.c index 7b812260df..871579e878 100644 --- a/usr/src/uts/common/io/idm/idm_text.c +++ b/usr/src/uts/common/io/idm/idm_text.c @@ -735,7 +735,7 @@ idm_nvlist_add_list_of_values(nvlist_t *nvl, int idm_nvlist_to_textbuf(nvlist_t *nvl, char **textbuf, int *textbuflen, - int *validlen) + int *validlen) { int rc = 0; nvpair_t *nvp = NULL; @@ -1546,7 +1546,7 @@ idm_pdu_list_to_nvlist(list_t *pdu_list, nvlist_t **nvlist, goto cleanup; } - ASSERT(split_kvbuflen != NULL); + ASSERT(split_kvbuflen != 0); kmem_free(split_kvbuf, split_kvbuflen); /* Now handle the remainder of the PDU as normal */ |
