From 5e6f4a6ba05f122b39407f2bdb8d8bea194b8990 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Wed, 6 Jul 2022 04:42:32 +0000 Subject: sg_vpd: more JSON work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@958 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- testing/tst_sg_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/tst_sg_lib.c b/testing/tst_sg_lib.c index 51c109ee..2f44d2fe 100644 --- a/testing/tst_sg_lib.c +++ b/testing/tst_sg_lib.c @@ -367,10 +367,10 @@ main(int argc, char * argv[]) } #if 1 if (as_json) { - sgj_pr_str_output(jsp, "sg_get_sense_str(ds_data1)", 999); + sgj_pr_str_out_hr(jsp, "sg_get_sense_str(ds_data1)", 999); sg_get_sense_str(leadin, desc_sense_data1, sizeof(desc_sense_data1), vb, b_len, b); - sgj_pr_str_output(jsp, b, strlen(b)); + sgj_pr_str_out_hr(jsp, b, strlen(b)); } else { printf("sg_get_sense_str(ds_data1):\n"); -- cgit v1.2.3