OS-3204: libnvpair JSON cannot print int16 arrays

Details

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

People

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

Resolution

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)

Description

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.

Comments

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>