summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxmsgq01/init.c')
-rw-r--r--testsuites/psxtests/psxmsgq01/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c
index 3c77beb038..c6b3d92464 100644
--- a/testsuites/psxtests/psxmsgq01/init.c
+++ b/testsuites/psxtests/psxmsgq01/init.c
@@ -1133,7 +1133,7 @@ void verify_with_threads(void)
void validate_mq_setattr(void)
{
- struct mq_attr attr;
+ struct mq_attr attr = { 0 };
struct mq_attr save_attr[ NUMBER_OF_TEST_QUEUES ];
int status;
int i;