diff options
author | Ryan Moeller <[email protected]> | 2021-06-04 15:53:44 -0400 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-06-09 13:05:34 -0700 |
commit | e298695809646fc455e5434261f8e09e3c62895f (patch) | |
tree | b99ab1d9e65885f376642a07c99781439fc40442 /module | |
parent | c650ceb64d59331845d64f40961b5171bd2ab5d2 (diff) |
Fix error check in nvlist_print_json_string
Move check for errors from mbrtowc() into the loop. The error values
are not actually negative, so we don't break out of the loop when they
are encountered.
Reviewed-by: Tony Nguyen <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #12175
Closes #12176
Diffstat (limited to 'module')
0 files changed, 0 insertions, 0 deletions