OS-3204

libnvpair JSON cannot print int16 arrays

Status:
Resolved
Resolution:
Fixed
Created:
2014-07-14T17:31:00.000-0400
Updated:
2014-07-16T12:57:50.000-0400

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 (1)

Former user commented on 2014-07-16T12:56:16.000-0400:

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

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