From b5cdb953370e1868c6c030c9aca61f5e0d5aaaa8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 23 Jun 2015 09:13:55 +0200 Subject: condvar01: Initialize mutex --- testsuite/condvar01/test_main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite') diff --git a/testsuite/condvar01/test_main.c b/testsuite/condvar01/test_main.c index 53c98152..09c08fa4 100644 --- a/testsuite/condvar01/test_main.c +++ b/testsuite/condvar01/test_main.c @@ -371,6 +371,7 @@ test_main(void) rtems_resource_snapshot_take(&snapshot); + mtx_init(&ctx->mtx, "test", NULL, MTX_DEF); cv_init(&ctx->cv, "test"); assert(strcmp(cv_wmesg(&ctx->cv), "test") == 0); -- cgit v1.2.3