diff options
Diffstat (limited to 'src/sg_read_attr.c')
-rw-r--r-- | src/sg_read_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sg_read_attr.c b/src/sg_read_attr.c index b0bcedb0..89ca26da 100644 --- a/src/sg_read_attr.c +++ b/src/sg_read_attr.c @@ -249,7 +249,7 @@ sg_ll_read_attr(int sg_fd, void * resp, int * residp, bool noisy, uint8_t ra_cdb[SG_READ_ATTRIBUTE_CMDLEN] = {SG_READ_ATTRIBUTE_CMD, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; - uint8_t sense_b[SENSE_BUFF_LEN] = {0}; + uint8_t sense_b[SENSE_BUFF_LEN] SG_C_CPP_ZERO_INIT; struct sg_pt_base * ptvp; ra_cdb[1] = 0x1f & op->sa; |