condvar01: Initialize mutex

This commit is contained in:
Sebastian Huber
2015-06-23 09:13:55 +02:00
parent b22ad9f4c5
commit b5cdb95337

View File

@@ -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);