Project

General

Profile

Actions

Bug #5006

closed

libnvpair JSON cannot print int16 arrays

Added by Joshua M. Clulow almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
2014-07-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

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 )

Actions

Also available in: Atom PDF