diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-05-02 04:45:28 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-05-02 04:45:28 +0000 |
commit | d7f5140b8b84eb9e27509a1c0fb6872a782b1fe8 (patch) | |
tree | de2e3799b32aa5588ba0183a53ecd18971bd9a10 /src/sg_turs.c | |
parent | 891844a52a28d9c5be86bf055e02180cb2b63275 (diff) | |
download | sg3_utils-d7f5140b8b84eb9e27509a1c0fb6872a782b1fe8.tar.gz |
sg_rep_zones: add experimental --json[=JO] option and generation
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@950 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_turs.c')
-rw-r--r-- | src/sg_turs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_turs.c b/src/sg_turs.c index 3c7c7a1f..e665fe44 100644 --- a/src/sg_turs.c +++ b/src/sg_turs.c @@ -45,7 +45,7 @@ #include "sg_pr2serr.h" -static const char * version_str = "3.50 20220418"; +static const char * version_str = "3.51 20220425"; #define DEF_PT_TIMEOUT 60 /* 60 seconds */ @@ -386,7 +386,7 @@ loop_turs(struct sg_pt_base * ptvp, struct loop_res_t * resp, int packet_id = 0; int vb = op->verbose; char b[80]; - uint8_t sense_b[32]; + uint8_t sense_b[32] = {0}; if (op->do_low) { int rs, n, sense_cat; |