aboutsummaryrefslogtreecommitdiff
path: root/testing/tst_sg_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tst_sg_lib.c')
-rw-r--r--testing/tst_sg_lib.c4
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");