aboutsummaryrefslogtreecommitdiff
path: root/src/sg_requests.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sg_requests.c')
-rw-r--r--src/sg_requests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_requests.c b/src/sg_requests.c
index a0afd365..ee0c0388 100644
--- a/src/sg_requests.c
+++ b/src/sg_requests.c
@@ -34,7 +34,7 @@
* This program issues the SCSI command REQUEST SENSE to the given SCSI device.
*/
-static const char * version_str = "1.38 20211001";
+static const char * version_str = "1.39 20211114";
#define MAX_REQS_RESP_LEN 255
#define DEF_REQS_RESP_LEN 252
@@ -152,7 +152,7 @@ main(int argc, char * argv[])
char b[256];
uint8_t rs_cdb[REQUEST_SENSE_CMDLEN] =
{REQUEST_SENSE_CMD, 0, 0, 0, 0, 0};
- uint8_t sense_b[SENSE_BUFF_LEN];
+ uint8_t sense_b[SENSE_BUFF_LEN] = {0};
#ifndef SG_LIB_MINGW
bool do_time = false;
struct timeval start_tm, end_tm;