diff options
Diffstat (limited to 'apps/examples/ostest/rmutex.c')
-rw-r--r-- | apps/examples/ostest/rmutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/ostest/rmutex.c b/apps/examples/ostest/rmutex.c index 5456cddb7..62c64d48f 100644 --- a/apps/examples/ostest/rmutex.c +++ b/apps/examples/ostest/rmutex.c @@ -156,7 +156,7 @@ void recursive_mutex_test(void) { printf("recursive_mutex_test: Waiting for thread %d\n", i+1); #ifdef SDCC - pthread_join(thread[i], &result1); + pthread_join(thread[i], &result[i]); #else pthread_join(thread[i], NULL); #endif |