nvpair_type_is_array: DATA_TYPE_INT8_ARRAY was not recognized

To do:	upstream (https://www.illumos.org/issues/5778)
MFC after:	10 days
This commit is contained in:
Andriy Gapon 2015-04-28 06:34:55 +00:00
parent 551652b60c
commit 39b6f1d6c1

View File

@ -1227,6 +1227,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) ||