diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-07-06 04:42:32 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-07-06 04:42:32 +0000 |
commit | 5e6f4a6ba05f122b39407f2bdb8d8bea194b8990 (patch) | |
tree | def2dad0393b47310771ff034b74a6a189e862e4 /testing | |
parent | 1861523da54dbb1dac823f754156e7e67f2768cb (diff) | |
download | sg3_utils-5e6f4a6ba05f122b39407f2bdb8d8bea194b8990.tar.gz |
sg_vpd: more JSON work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@958 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'testing')
-rw-r--r-- | testing/tst_sg_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |