aboutsummaryrefslogtreecommitdiff
path: root/src/sg_zone.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sg_zone.c')
-rw-r--r--src/sg_zone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sg_zone.c b/src/sg_zone.c
index e4540143..6da6d0ac 100644
--- a/src/sg_zone.c
+++ b/src/sg_zone.c
@@ -137,7 +137,7 @@ sg_ll_zone_out(int sg_fd, int sa, uint64_t zid, uint16_t zc, bool all,
struct sg_pt_base * ptvp;
uint8_t zo_cdb[SG_ZONING_OUT_CMDLEN] =
{SG_ZONING_OUT, 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;
char b[64];
zo_cdb[1] = 0x1f & sa;