OS-3204: libnvpair JSON cannot print int16 arrays


Issue Type:Bug
Priority:4 - Normal
Created at:2014-07-14T21:31:00.000Z
Updated at:2014-07-16T16:57:50.000Z


Created by:Former user
Reported by:Former user
Assigned to:Former user


Fixed: A fix for this issue is checked into the tree and tested.
(Resolution Date: 2014-07-16T16:57:50.000Z)

Fix Versions

2014-07-24 Tron (Release Date: 2014-07-24)


While writing the test suite for OS-3068, 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. This is because of an incorrect fprintf(3C) format string.


Comment by Former user
Created at 2014-07-16T16:56:16.000Z

illumos-joyent commit 295d36e (branch master, by Joshua M. Clulow)

OS-3068 libnvpair JSON output broken by lint fixes
OS-3204 libnvpair JSON cannot print int16 arrays
Reviewed by: Robert Mustacchi <rm@joyent.com>