aboutsummaryrefslogtreecommitdiff
path: root/src/sg_rbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sg_rbuf.c')
-rw-r--r--src/sg_rbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_rbuf.c b/src/sg_rbuf.c
index 180c19bc..d37cc259 100644
--- a/src/sg_rbuf.c
+++ b/src/sg_rbuf.c
@@ -368,8 +368,8 @@ main(int argc, char * argv[])
struct opts_t * op;
uint8_t * rbBuff = NULL;
void * rawp = NULL;
- uint8_t sense_buffer[32] = {0};
- uint8_t rb_cdb [RB_CMD_LEN] = {0};
+ uint8_t sense_buffer[32] SG_C_CPP_ZERO_INIT;
+ uint8_t rb_cdb [RB_CMD_LEN] SG_C_CPP_ZERO_INIT;
struct sg_io_hdr io_hdr;
struct timeval start_tm, end_tm;
struct opts_t opts;