libnvpair JSON cannot print int16 arrays
While writing the test suite for #5005, it became apparent that in addition to having been broken by
lint fixes, the library was never able to correctly print an array created by nvlist_add_int16_array(3NVPAIR). This is because of an incorrect fprintf(3C) format string.
(Originally Joyent-internal bug OS-3204 )
Updated by Electric Monk over 7 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 37c79205ad46187f54b2edbf6a468160935f14d9 Author: Joshua M. Clulow <firstname.lastname@example.org> Date: 2014-11-11T05:18:34.000Z 5005 libnvpair JSON output broken by lint fixes 5006 libnvpair JSON cannot print int16 arrays Reviewed by: Robert Mustacchi <email@example.com> Approved by: Gordon Ross <firstname.lastname@example.org>