diff options
Diffstat (limited to 'testing/bsg_queue_tst.c')
-rw-r--r-- | testing/bsg_queue_tst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/bsg_queue_tst.c b/testing/bsg_queue_tst.c index 011dcab3..2761f8bb 100644 --- a/testing/bsg_queue_tst.c +++ b/testing/bsg_queue_tst.c @@ -20,7 +20,7 @@ The default behaviour is to "queue at head" which is useful for error processing but not for streaming READ and WRITE commands. -* Copyright (C) 2010-2019 D. Gilbert +* Copyright (C) 2010-2021 D. Gilbert * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) @@ -61,7 +61,7 @@ int main(int argc, char * argv[]) struct sg_io_v4 rio_hdr; char * file_name = 0; char ebuff[EBUFF_SZ]; - uint8_t sense_buffer[16][SENSE_BUFFER_LEN]; + uint8_t sense_buffer[16][SENSE_BUFFER_LEN] = {0}; int q_at_tail = 0; for (k = 1; k < argc; ++k) { |