diff options
Diffstat (limited to 'src/sg_read.c')
-rw-r--r-- | src/sg_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sg_read.c b/src/sg_read.c index 52304970..4c48b474 100644 --- a/src/sg_read.c +++ b/src/sg_read.c @@ -298,7 +298,7 @@ sg_bread(int sg_fd, uint8_t * buff, int blocks, int64_t from_block, int bs, bool no_dxfer) { uint8_t rdCmd[MAX_SCSI_CDBSZ]; - uint8_t senseBuff[SENSE_BUFF_LEN] = {0}; + uint8_t senseBuff[SENSE_BUFF_LEN] SG_C_CPP_ZERO_INIT; struct sg_io_hdr io_hdr; if (sg_build_scsi_cdb(rdCmd, cdbsz, blocks, from_block, false, fua, |