summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorAndriy Gapon <avg@icyb.net.ua>2015-11-12 11:23:37 -0800
committerMatthew Ahrens <mahrens@delphix.com>2015-11-12 13:53:22 -0800
commitbf4d553b8a4685dc5ba4549cc9ba6d94e9306a81 (patch)
treef75f356b0809c65471fd185ee4f70809ea2333f8 /usr/src
parent808b84d02d9e58543ac8cde2701dec91a8c237f0 (diff)
downloadillumos-gate-bf4d553b8a4685dc5ba4549cc9ba6d94e9306a81.tar.gz
5778 nvpair_type_is_array() does not recognize DATA_TYPE_INT8_ARRAY
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/common/nvpair/nvpair.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/common/nvpair/nvpair.c b/usr/src/common/nvpair/nvpair.c
index 00d44263cc..977d262549 100644
--- a/usr/src/common/nvpair/nvpair.c
+++ b/usr/src/common/nvpair/nvpair.c
@@ -1231,6 +1231,7 @@ nvpair_type_is_array(nvpair_t *nvp)
data_type_t type = NVP_TYPE(nvp);
if ((type == DATA_TYPE_BYTE_ARRAY) ||
+ (type == DATA_TYPE_INT8_ARRAY) ||
(type == DATA_TYPE_UINT8_ARRAY) ||
(type == DATA_TYPE_INT16_ARRAY) ||
(type == DATA_TYPE_UINT16_ARRAY) ||